Class GridFile

    • Method Detail

      • getName

        public String getName()
        Deprecated.
      • getPath

        public String getPath()
        Deprecated.
        Returns path of this file. To avoid issues arising from file separator differences between different operative systems, the path returned always uses Unix-like path separator, '/' character. Any client code calling this method should bear that if disecting the path.
        Returns:
        String containing path of file.
      • getAbsolutePath

        public String getAbsolutePath()
        Deprecated.
      • getAbsoluteFile

        public File getAbsoluteFile()
        Deprecated.
      • isAbsolute

        public boolean isAbsolute()
        Deprecated.
      • renameTo

        public boolean renameTo​(File dest)
        Deprecated.
      • deleteOnExit

        public void deleteOnExit()
        Deprecated.
      • length

        public long length()
        Deprecated.
      • getChunkSize

        public int getChunkSize()
        Deprecated.
        Guaranteed to be a power of two
      • delete

        public boolean delete()
        Deprecated.
      • mkdir

        public boolean mkdir()
        Deprecated.
      • mkdirs

        public boolean mkdirs()
        Deprecated.
      • exists

        public boolean exists()
        Deprecated.
      • getParent

        public String getParent()
        Deprecated.
      • getParentFile

        public File getParentFile()
        Deprecated.
      • lastModified

        public long lastModified()
        Deprecated.
      • setLastModified

        public boolean setLastModified​(long time)
        Deprecated.
      • list

        public String[] list()
        Deprecated.
      • listFiles

        public File[] listFiles()
        Deprecated.
      • listFiles

        public File[] listFiles​(FileFilter filter)
        Deprecated.
      • isDirectory

        public boolean isDirectory()
        Deprecated.
      • isFile

        public boolean isFile()
        Deprecated.
      • initChunkSizeFromMetadata

        protected void initChunkSizeFromMetadata()
        Deprecated.
      • _listFiles

        protected File[] _listFiles​(Object filter)
        Deprecated.
      • _list

        protected String[] _list​(Object filter)
        Deprecated.
      • isChildOf

        protected static boolean isChildOf​(String parent,
                                           String child)
        Deprecated.
        Verifies whether child is a child (dir or file) of parent
        Parameters:
        parent -
        child -
        Returns:
        True if child is a child, false otherwise
      • filename

        protected static String filename​(String fullPath)
        Deprecated.
      • checkParentDirs

        protected boolean checkParentDirs​(String path,
                                          boolean createIfAbsent)
                                   throws IOException
        Deprecated.
        Checks whether the parent directories are present (and are directories). If createIfAbsent is true, creates missing dirs
        Parameters:
        path -
        createIfAbsent -
        Returns:
        Throws:
        IOException
      • equals

        public boolean equals​(Object obj)
        Deprecated.
      • canRead

        public boolean canRead()
        Deprecated.
      • canWrite

        public boolean canWrite()
        Deprecated.
      • isHidden

        public boolean isHidden()
        Deprecated.
      • canExecute

        public boolean canExecute()
        Deprecated.
      • compareTo

        public int compareTo​(File file)
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
      • toString

        public String toString()
        Deprecated.
      • toURI

        public URI toURI()
        Deprecated.
      • setReadOnly

        public boolean setReadOnly()
        Deprecated.
      • setWritable

        public boolean setWritable​(boolean writable,
                                   boolean ownerOnly)
        Deprecated.
      • setWritable

        public boolean setWritable​(boolean writable)
        Deprecated.
      • setReadable

        public boolean setReadable​(boolean readable,
                                   boolean ownerOnly)
        Deprecated.
      • setReadable

        public boolean setReadable​(boolean readable)
        Deprecated.
      • setExecutable

        public boolean setExecutable​(boolean executable,
                                     boolean ownerOnly)
        Deprecated.
      • setExecutable

        public boolean setExecutable​(boolean executable)
        Deprecated.
      • getTotalSpace

        public long getTotalSpace()
        Deprecated.
      • getFreeSpace

        public long getFreeSpace()
        Deprecated.
      • getUsableSpace

        public long getUsableSpace()
        Deprecated.