Class FileDocumentSource

  • All Implemented Interfaces:
    DocumentSource

    public class FileDocumentSource
    extends java.lang.Object
    implements DocumentSource
    FileDocumentSource...
    • Constructor Summary

      Constructors 
      Constructor Description
      FileDocumentSource​(java.io.File file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getFile()  
      java.lang.String getLabel()
      Returns a label of the source.
      java.lang.String getLocation()
      Returns some location information of the source.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileDocumentSource

        public FileDocumentSource​(java.io.File file)
    • Method Detail

      • getFile

        public java.io.File getFile()
      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: DocumentSource
        Returns a label of the source.
        Specified by:
        getLabel in interface DocumentSource
        Returns:
        a label of the source.
      • getLocation

        public java.lang.String getLocation()
        Description copied from interface: DocumentSource
        Returns some location information of the source.
        Specified by:
        getLocation in interface DocumentSource
        Returns:
        some location information.