Class AbstractGeometryIOMetadata
java.lang.Object
org.apache.commons.geometry.io.core.AbstractGeometryIOMetadata
- All Implemented Interfaces:
GeometryIOMetadata
- Direct Known Subclasses:
FileGeometryInput
,FileGeometryOutput
,StreamGeometryInput
,StreamGeometryOutput
,UrlGeometryInput
Abstract base class for
GeometryIOMetadata
implementations.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractGeometryIOMetadata
(String fileName, Charset charset) Construct a new instance with the given file name and charset. -
Method Summary
Modifier and TypeMethodDescriptionGet the charset for the operation, if any.Get the file name associated with the operation, if any.toString()
-
Field Details
-
fileName
File name; may be null. -
charset
Charset; may be null.
-
-
Constructor Details
-
AbstractGeometryIOMetadata
Construct a new instance with the given file name and charset.- Parameters:
fileName
- file name; may be nullcharset
- charset; may be null
-
-
Method Details
-
getFileName
Get the file name associated with the operation, if any.- Specified by:
getFileName
in interfaceGeometryIOMetadata
- Returns:
- file name associated with the operation or null if unknown or not applicable
-
getCharset
Get the charset for the operation, if any.- Specified by:
getCharset
in interfaceGeometryIOMetadata
- Returns:
- charset for the operation or null if unknown or not applicable
-
toString
-