Class AbstractGeometryIOMetadata

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.charset.Charset charset
      Charset; may be null.
      private java.lang.String fileName
      File name; may be null.
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • fileName

        private final java.lang.String fileName
        File name; may be null.
      • charset

        private final java.nio.charset.Charset charset
        Charset; may be null.
    • Constructor Detail

      • AbstractGeometryIOMetadata

        protected AbstractGeometryIOMetadata​(java.lang.String fileName,
                                             java.nio.charset.Charset charset)
        Construct a new instance with the given file name and charset.
        Parameters:
        fileName - file name; may be null
        charset - charset; may be null
    • Method Detail

      • getFileName

        public java.lang.String getFileName()
        Get the file name associated with the operation, if any.
        Specified by:
        getFileName in interface GeometryIOMetadata
        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 interface GeometryIOMetadata
        Returns:
        charset for the operation or null if unknown or not applicable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object