Interface LocalSourceFile

    • Method Detail

      • getName

        java.lang.String getName()
      • getLength

        long getLength()
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getPermissions

        int getPermissions()
                    throws java.io.IOException
        Returns the permissions for the underlying file
        Returns:
        permissions e.g. 0644
        Throws:
        java.io.IOException
      • isFile

        boolean isFile()
      • isDirectory

        boolean isDirectory()
      • getChildren

        java.lang.Iterable<? extends LocalSourceFile> getChildren​(LocalFileFilter filter)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • providesAtimeMtime

        boolean providesAtimeMtime()
      • getLastAccessTime

        long getLastAccessTime()
                        throws java.io.IOException
        Returns last access time for the underlying file.
        Returns:
        time in seconds since Unix epoch
        Throws:
        java.io.IOException
      • getLastModifiedTime

        long getLastModifiedTime()
                          throws java.io.IOException
        Returns last access time for the underlying file.
        Returns:
        time in seconds since Unix epoch
        Throws:
        java.io.IOException