Package org.apache.sis.internal.simple
Class SimpleFormat
java.lang.Object
org.apache.sis.internal.simple.SimpleCitation
org.apache.sis.internal.simple.SimpleFormat
- All Implemented Interfaces:
Serializable,org.opengis.metadata.citation.Citation,org.opengis.metadata.distribution.Format
public class SimpleFormat
extends SimpleCitation
implements org.opengis.metadata.distribution.Format
A trivial implementation of
Format containing only the format name.- Since:
- 0.8
- Version:
- 0.8
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor cross-version compatibility.Fields inherited from class org.apache.sis.internal.simple.SimpleCitation
title -
Constructor Summary
ConstructorsConstructorDescriptionSimpleFormat(String name) Creates a new format of the given short name or abbreviation. -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.opengis.util.InternationalString>Returns the format name given at construction time.org.opengis.util.InternationalStringAmendment number of the format version.org.opengis.util.InternationalStringRecommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.Collection<? extends org.opengis.metadata.distribution.Distributor>Provides information about the distributor's format.org.opengis.util.InternationalStringgetName()Deprecated.org.opengis.util.InternationalStringDeprecated.Replaced bygetTitle()org.opengis.util.InternationalStringgetTitle()Returns the format specification title, which isnullby default.org.opengis.util.InternationalStringDeprecated.Replaced bySimpleCitation.getEdition()toString()Returns a string representation of this format for debugging purpose.Methods inherited from class org.apache.sis.internal.simple.SimpleCitation
equals, getCitedResponsibleParties, getCollectiveTitle, getDates, getEdition, getEditionDate, getIdentifiers, getISBN, getISSN, getOtherCitationDetails, getPresentationForms, getSeries, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
SimpleFormat
Creates a new format of the given short name or abbreviation.- Parameters:
name- a short name or abbreviation for the format.
-
-
Method Details
-
getTitle
public org.opengis.util.InternationalString getTitle()Returns the format specification title, which isnullby default.- Specified by:
getTitlein interfaceorg.opengis.metadata.citation.Citation- Overrides:
getTitlein classSimpleCitation- Returns:
- the format specification.
-
getAlternateTitles
Returns the format name given at construction time.- Specified by:
getAlternateTitlesin interfaceorg.opengis.metadata.citation.Citation- Overrides:
getAlternateTitlesin classSimpleCitation- Returns:
- the name given at construction time.
-
getSpecification
Deprecated.Replaced bygetTitle()- Specified by:
getSpecificationin interfaceorg.opengis.metadata.distribution.Format- Returns:
- name of a subset, profile, or product specification of the format, or
null.
-
getName
Deprecated.Replaced bygetAlternateTitles()- Specified by:
getNamein interfaceorg.opengis.metadata.distribution.Format- Returns:
- name of the data transfer format(s).
-
getVersion
Deprecated.Replaced bySimpleCitation.getEdition()- Specified by:
getVersionin interfaceorg.opengis.metadata.distribution.Format- Returns:
- version of the format.
-
getAmendmentNumber
public org.opengis.util.InternationalString getAmendmentNumber()Amendment number of the format version.- Specified by:
getAmendmentNumberin interfaceorg.opengis.metadata.distribution.Format- Returns:
- amendment number of the format version, or
null.
-
getFileDecompressionTechnique
public org.opengis.util.InternationalString getFileDecompressionTechnique()Recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.- Specified by:
getFileDecompressionTechniquein interfaceorg.opengis.metadata.distribution.Format- Returns:
- processes that can be applied to read resources to which compression techniques have been applied,
or
null.
-
getFormatDistributors
Provides information about the distributor's format.- Specified by:
getFormatDistributorsin interfaceorg.opengis.metadata.distribution.Format- Returns:
- information about the distributor's format.
-
toString
Returns a string representation of this format for debugging purpose.- Overrides:
toStringin classSimpleCitation
-
getAlternateTitles()