org.apache.ace.client.repository.helper.configuration.impl
Class ConfigurationHelperImpl
java.lang.Object
org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImpl
- All Implemented Interfaces:
- org.apache.ace.client.repository.helper.ArtifactHelper, org.apache.ace.client.repository.helper.ArtifactRecognizer, ConfigurationHelper
public class ConfigurationHelperImpl
- extends Object
- implements org.apache.ace.client.repository.helper.ArtifactRecognizer, ConfigurationHelper
Fields inherited from interface org.apache.ace.client.repository.helper.ArtifactHelper |
KEY_MIMETYPE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationHelperImpl
public ConfigurationHelperImpl()
canHandle
public boolean canHandle(String mimetype)
- Specified by:
canHandle
in interface org.apache.ace.client.repository.helper.ArtifactRecognizer
extractMetaData
public Map<String,String> extractMetaData(URL artifact)
throws IllegalArgumentException
- Specified by:
extractMetaData
in interface org.apache.ace.client.repository.helper.ArtifactRecognizer
- Throws:
IllegalArgumentException
recognize
public String recognize(URL artifact)
- Specified by:
recognize
in interface org.apache.ace.client.repository.helper.ArtifactRecognizer
canUse
public boolean canUse(org.apache.ace.client.repository.object.ArtifactObject object)
- Specified by:
canUse
in interface org.apache.ace.client.repository.helper.ArtifactHelper
checkAttributes
public Map<String,String> checkAttributes(Map<String,String> attributes)
- Specified by:
checkAttributes
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getAssociationFilter
public <TYPE extends org.apache.ace.client.repository.object.ArtifactObject> String getAssociationFilter(TYPE obj,
Map<String,String> properties)
- Specified by:
getAssociationFilter
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getCardinality
public <TYPE extends org.apache.ace.client.repository.object.ArtifactObject> int getCardinality(TYPE obj,
Map<String,String> properties)
- Specified by:
getCardinality
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getComparator
public Comparator<org.apache.ace.client.repository.object.ArtifactObject> getComparator()
- Specified by:
getComparator
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getDefiningKeys
public String[] getDefiningKeys()
- Specified by:
getDefiningKeys
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getMandatoryAttributes
public String[] getMandatoryAttributes()
- Specified by:
getMandatoryAttributes
in interface org.apache.ace.client.repository.helper.ArtifactHelper
getPreprocessor
public org.apache.ace.client.repository.helper.ArtifactPreprocessor getPreprocessor()
- Specified by:
getPreprocessor
in interface org.apache.ace.client.repository.helper.ArtifactHelper
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.