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 forGeometryIOMetadataimplementations.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractGeometryIOMetadata(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.CharsetgetCharset()Get the charset for the operation, if any.java.lang.StringgetFileName()Get the file name associated with the operation, if any.java.lang.StringtoString()
-
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
Get the file name associated with the operation, if any.- Specified by:
getFileNamein 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:
getCharsetin interfaceGeometryIOMetadata- Returns:
- charset for the operation or null if unknown or not applicable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-