Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(FSFile) - Method in interface com.blackrook.fs.FSFileFilter
-
Tests if a file is accepted by this filter.
- addArchive(FSFileArchive) - Method in class com.blackrook.fs.FileSystem
-
Adds an archive to the bottom of the search stack.
C
- canCreateFiles() - Method in class com.blackrook.fs.archive.ClasspathArchive
- canCreateFiles() - Method in class com.blackrook.fs.archive.FolderArchive
- canCreateFiles() - Method in class com.blackrook.fs.archive.ZipArchive
- canCreateFiles() - Method in class com.blackrook.fs.FSFileArchive
-
Can this archive create a new file within itself?
- ClasspathArchive - Class in com.blackrook.fs.archive
-
This is an FS wrapping class for wrapping a classpath tree in the filesystem.
- ClasspathArchive() - Constructor for class com.blackrook.fs.archive.ClasspathArchive
-
Creates the entry point into the classpath.
- ClasspathArchive.ClasspathFile - Class in com.blackrook.fs.archive
- ClasspathFile(URL) - Constructor for class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- close(AutoCloseable) - Static method in class com.blackrook.fs.struct.Utils
-
Attempts to close an
AutoCloseableobject. - com.blackrook.fs - package com.blackrook.fs
-
Contains the classes and interfaces that make up the file system elements.
- com.blackrook.fs.archive - package com.blackrook.fs.archive
-
Contains the classes for certain file folder types.
- com.blackrook.fs.struct - package com.blackrook.fs.struct
-
Additional helper data structures and methods.
- compareTo(FSFile) - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- compareTo(FSFile) - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- compareTo(FSFile) - Method in class com.blackrook.fs.FSFile
- createFile(String) - Method in class com.blackrook.fs.archive.ClasspathArchive
- createFile(String) - Method in class com.blackrook.fs.archive.FolderArchive
- createFile(String) - Method in class com.blackrook.fs.archive.ZipArchive
- createFile(String) - Method in class com.blackrook.fs.FileSystem
-
Creates a file in this system using the name and path provided.
- createFile(String) - Method in class com.blackrook.fs.FSFileArchive
-
Creates a file in this archive using the name and path provided.
- createPath(String) - Static method in class com.blackrook.fs.struct.Utils
-
Creates the necessary directories for a file path.
- createPathForFile(File) - Static method in class com.blackrook.fs.struct.Utils
-
Creates the necessary directories for a file path.
- createPathForFile(String) - Static method in class com.blackrook.fs.struct.Utils
-
Creates the necessary directories for a file path.
E
- equals(FSFile) - Method in class com.blackrook.fs.FSFile
-
Checks if this file equals another file.
- equals(Object) - Method in class com.blackrook.fs.FSFile
F
- fileLookupTable - Variable in class com.blackrook.fs.archive.FolderArchive
-
Table for file lookup.
- fileLookupTable - Variable in class com.blackrook.fs.archive.ZipArchive
-
Table for file lookup.
- fileRef - Variable in class com.blackrook.fs.archive.FolderArchive.FolderFile
- fileStack - Variable in class com.blackrook.fs.FileSystem
-
Lookup stack for file system.
- FileSystem - Class in com.blackrook.fs
-
This is a virtual file system layer for applications and other projects that resolve resources from virtual and nonvirtual file systems and archives.
- FileSystem() - Constructor for class com.blackrook.fs.FileSystem
-
Creates and initializes a new FileSystem.
- FileSystemException - Exception Class in com.blackrook.fs
-
Excption class that is thrown if something bad happens inside the file system.
- FileSystemException() - Constructor for exception class com.blackrook.fs.FileSystemException
- FileSystemException(String) - Constructor for exception class com.blackrook.fs.FileSystemException
- fileURL - Variable in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- FolderArchive - Class in com.blackrook.fs.archive
-
This is an FS wrapping class for wrapping a folder on the native file system.
- FolderArchive(File) - Constructor for class com.blackrook.fs.archive.FolderArchive
-
Constructs a new folder archive from a file object.
- FolderArchive(String) - Constructor for class com.blackrook.fs.archive.FolderArchive
-
Constructs a new folder archive from an abstract path.
- FolderArchive.FolderFile - Class in com.blackrook.fs.archive
- FolderFile(File) - Constructor for class com.blackrook.fs.archive.FolderArchive.FolderFile
- FSFile - Class in com.blackrook.fs
-
This describes metadata of a file within a FileSystem.
- FSFile() - Constructor for class com.blackrook.fs.FSFile
- FSFileArchive - Class in com.blackrook.fs
-
Wrapper structure that is used to create a common interface with all files.
- FSFileArchive() - Constructor for class com.blackrook.fs.FSFileArchive
- FSFileFilter - Interface in com.blackrook.fs
-
File filter interface for FileSystem stuff.
G
- getAllFileInstances(String) - Method in class com.blackrook.fs.FileSystem
-
Retrieves all of the instances of a file from the system.
- getAllFiles() - Method in class com.blackrook.fs.archive.ClasspathArchive
- getAllFiles() - Method in class com.blackrook.fs.archive.FolderArchive
- getAllFiles() - Method in class com.blackrook.fs.archive.ZipArchive
- getAllFiles() - Method in class com.blackrook.fs.FileSystem
-
Retrieves all of the recent instances of a file from the system.
- getAllFiles() - Method in class com.blackrook.fs.FSFileArchive
-
Retrieves all of the files within this object as FSFile objects.
- getAllFiles(FSFileFilter) - Method in class com.blackrook.fs.archive.ClasspathArchive
- getAllFiles(FSFileFilter) - Method in class com.blackrook.fs.archive.FolderArchive
- getAllFiles(FSFileFilter) - Method in class com.blackrook.fs.archive.ZipArchive
- getAllFiles(FSFileFilter) - Method in class com.blackrook.fs.FileSystem
-
Retrieves all of the recent instances of the files within this system that pass the filter test as FSFile objects.
- getAllFiles(FSFileFilter) - Method in class com.blackrook.fs.FSFileArchive
-
Retrieves all of the files within this object that pass the filter test as FSFile objects.
- getAllFilesInDir(String) - Method in class com.blackrook.fs.archive.ClasspathArchive
- getAllFilesInDir(String) - Method in class com.blackrook.fs.archive.FolderArchive
- getAllFilesInDir(String) - Method in class com.blackrook.fs.archive.ZipArchive
- getAllFilesInDir(String) - Method in class com.blackrook.fs.FileSystem
-
Retrieves all of the recent instances of the files within this system as FSFile objects.
- getAllFilesInDir(String) - Method in class com.blackrook.fs.FSFileArchive
-
Retrieves all of the files within a directory as FSFile objects.
- getAllFilesInDir(String, FSFileFilter) - Method in class com.blackrook.fs.archive.ClasspathArchive
- getAllFilesInDir(String, FSFileFilter) - Method in class com.blackrook.fs.archive.FolderArchive
- getAllFilesInDir(String, FSFileFilter) - Method in class com.blackrook.fs.archive.ZipArchive
- getAllFilesInDir(String, FSFileFilter) - Method in class com.blackrook.fs.FileSystem
-
Retrieves all of the recent instances of the files within this system that pass the filter test as FSFile objects.
- getAllFilesInDir(String, FSFileFilter) - Method in class com.blackrook.fs.FSFileArchive
-
Retrieves all of the files within this object as FSFile objects that pass the filter test.
- getArchiveName() - Method in class com.blackrook.fs.FSFileArchive
-
Gets the name of this archive.
- getDate() - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- getDate() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- getDate() - Method in class com.blackrook.fs.FSFile
- getFile(String) - Method in class com.blackrook.fs.archive.ClasspathArchive
- getFile(String) - Method in class com.blackrook.fs.archive.FolderArchive
- getFile(String) - Method in class com.blackrook.fs.archive.ZipArchive
- getFile(String) - Method in class com.blackrook.fs.FileSystem
-
Retrieves a file from the system.
- getFile(String) - Method in class com.blackrook.fs.FSFileArchive
-
Returns an FSFile reference of a file within this wrapped file.
- getInputStream() - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- getInputStream() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- getInputStream() - Method in class com.blackrook.fs.FSFile
-
Returns an InputStream of a file within this wrapped file so that it may be read via a stream.
- getName() - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- getName() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- getName() - Method in class com.blackrook.fs.FSFile
- getPath() - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- getPath() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- getPath() - Method in class com.blackrook.fs.FSFile
- getPath() - Method in class com.blackrook.fs.FSFileArchive
-
Gets the path of this archive.
L
- length() - Method in class com.blackrook.fs.archive.ClasspathArchive.ClasspathFile
- length() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- length() - Method in class com.blackrook.fs.FSFile
P
- popArchive() - Method in class com.blackrook.fs.FileSystem
-
Pops an archive off of the search stack.
- pushArchive(FSFileArchive) - Method in class com.blackrook.fs.FileSystem
-
Pushes an archive onto the search stack.
R
- relay(InputStream, OutputStream) - Static method in class com.blackrook.fs.struct.Utils
-
Reads from an input stream, reading in a consistent set of data and writing it to the output stream.
- relay(InputStream, OutputStream, int) - Static method in class com.blackrook.fs.struct.Utils
-
Reads from an input stream, reading in a consistent set of data and writing it to the output stream.
- relay(InputStream, OutputStream, int, int) - Static method in class com.blackrook.fs.struct.Utils
-
Reads from an input stream, reading in a consistent set of data and writing it to the output stream.
- removeArchive(FSFileArchive) - Method in class com.blackrook.fs.FileSystem
-
Removes an archive from the search stack.
S
- setArchiveName(String) - Method in class com.blackrook.fs.FSFileArchive
-
Sets the name of this archive.
- setPath(String) - Method in class com.blackrook.fs.FSFileArchive
-
Sets the path of this archive.
T
- toString() - Method in class com.blackrook.fs.archive.FolderArchive.FolderFile
- toString() - Method in class com.blackrook.fs.FSFile
U
- Utils - Class in com.blackrook.fs.struct
-
Utility methods.
- Utils() - Constructor for class com.blackrook.fs.struct.Utils
Z
- ZipArchive - Class in com.blackrook.fs.archive
-
This is an FS wrapping class for wrapping a zip file on the native file system.
- ZipArchive(File) - Constructor for class com.blackrook.fs.archive.ZipArchive
-
Constructs a new zip archive from an abstract file.
- ZipArchive(String) - Constructor for class com.blackrook.fs.archive.ZipArchive
-
Constructs a new zip archive from an abstract path.
- ZipArchive(ZipFile) - Constructor for class com.blackrook.fs.archive.ZipArchive
-
Constructs a new zip archive from a file object.
- zipfileRef - Variable in class com.blackrook.fs.archive.ZipArchive
-
Zip file reference.
All Classes and Interfaces|All Packages|Serialized Form