Class FileSourceFileDataSource

  • All Implemented Interfaces:
    SourceFileDataSource

    public class FileSourceFileDataSource
    extends java.lang.Object
    implements SourceFileDataSource
    Data source for source files which are stored in the filesystem.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String fileName  
      private java.net.URI uri  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFullFileName()
      Get the full filename of the source file.
      java.net.URI getFullURI()
      Get the full URI of the source file.
      long getLastModified()  
      java.io.InputStream open()
      Open an InputStream on the source file.
      • Methods inherited from class java.lang.Object

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

      • fileName

        private final java.lang.String fileName
      • uri

        private final java.net.URI uri
    • Constructor Detail

      • FileSourceFileDataSource

        public FileSourceFileDataSource​(java.lang.String fileName)