Class AbstractGeometryIOMetadata
- java.lang.Object
-
- org.apache.commons.geometry.io.core.AbstractGeometryIOMetadata
-
- All Implemented Interfaces:
GeometryIOMetadata
- Direct Known Subclasses:
FileGeometryInput
,FileGeometryOutput
,StreamGeometryInput
,StreamGeometryOutput
,UrlGeometryInput
public class AbstractGeometryIOMetadata extends java.lang.Object implements GeometryIOMetadata
Abstract base class forGeometryIOMetadata
implementations.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractGeometryIOMetadata(java.lang.String fileName, java.nio.charset.Charset charset)
Construct a new instance with the given file name and charset.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.charset.Charset
getCharset()
Get the charset for the operation, if any.java.lang.String
getFileName()
Get the file name associated with the operation, if any.java.lang.String
toString()
-
-
-
Method Detail
-
getFileName
public java.lang.String 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
public java.nio.charset.Charset 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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-