A B C D F G I M R S T V W

A

AbstractFileSystem - Class in de.waldheinz.fs
Abstract class with common things in different FileSystem implementations.
AbstractFileSystem(boolean) - Constructor for class de.waldheinz.fs.AbstractFileSystem
Creates a new AbstractFileSystem.
AbstractFsObject - Class in de.waldheinz.fs
A base class that helps to implement the FsObject interface.
AbstractFsObject(boolean) - Constructor for class de.waldheinz.fs.AbstractFsObject
Creates a new instance of AbstractFsObject which will be valid and have the specified read-only state.
addDirectory(String) - Method in class de.waldheinz.fs.fat.FatLfnDirectory
Add a new (sub-)directory with a given name to this directory. According to the FAT file system specification, leading and trailing spaces in the name are ignored by this method.
addDirectory(String) - Method in interface de.waldheinz.fs.FsDirectory
Add a new (sub-)directory with a given name to this directory.
addFile(String) - Method in class de.waldheinz.fs.fat.FatLfnDirectory
Add a new file with a given name to this directory. According to the FAT file system specification, leading and trailing spaces in the name are ignored by this method.
addFile(String) - Method in interface de.waldheinz.fs.FsDirectory
Add a new file with a given name to this directory.

B

BlockDevice - Interface in de.waldheinz.fs
This is the abstraction used for a device that can hold a FileSystem.
BYTES_PER_SECTOR - Static variable in class de.waldheinz.fs.util.FileDisk
The number of bytes per sector for all FileDisk instances.

C

checkClosed() - Method in class de.waldheinz.fs.AbstractFileSystem
Checks if this FileSystem was already closed, and throws an exception if it was.
checkReadOnly() - Method in class de.waldheinz.fs.AbstractFileSystem
Checks if this FileSystem is read-only, and throws an exception if it is.
checkValid() - Method in class de.waldheinz.fs.AbstractFsObject
Convience method to check if this object is still valid and throw an IllegalStateException if it is not.
checkWritable() - Method in class de.waldheinz.fs.AbstractFsObject
Convience method to check if this object is writable.
close() - Method in class de.waldheinz.fs.AbstractFileSystem
 
close() - Method in interface de.waldheinz.fs.BlockDevice
Closes this BlockDevice.
close() - Method in interface de.waldheinz.fs.FileSystem
Close this file system.
close() - Method in class de.waldheinz.fs.util.FileDisk
 
close() - Method in class de.waldheinz.fs.util.RamDisk
 
create(BlockDevice, boolean) - Static method in class de.waldheinz.fs.FileSystemFactory
Creates a new FileSystem for the specified device.
create(File, long) - Static method in class de.waldheinz.fs.util.FileDisk
Creates a new FileDisk of the specified size.

D

de.waldheinz.fs - package de.waldheinz.fs
Contains the file-system independent classes and interfaces, as well as the FileSystemFactory for creating FileSystem instances.
de.waldheinz.fs.fat - package de.waldheinz.fs.fat
Contains the classes implementing the FAT(12/16/32) file system.
de.waldheinz.fs.util - package de.waldheinz.fs.util
Contains some utility classes that are useful independent of the file system type.
DEFAULT_FAT_COUNT - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
The default number of FATs.
DEFAULT_HEADS - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
The default number of heads.
DEFAULT_OEM_NAME - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
The default OEM name for file systems created by this class.
DEFAULT_SECTOR_SIZE - Static variable in class de.waldheinz.fs.util.RamDisk
The default sector size for RamDisks.
DEFAULT_SECTORS_PER_TRACK - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
The default number of sectors per track.
DEFULT_HEADS - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
Deprecated. the name of this constant was mistyped
DIRECTORY_ENTRY_COMPARATOR - Static variable in interface de.waldheinz.fs.FsDirectoryEntry
Compares directory entries alphabetically, with all directories coming before all files.
DirectoryFullException - Exception in de.waldheinz.fs.fat
Gets thrown when either a Fat16RootDirectory becomes full or a ClusterChainDirectory grows beyond it's maximum size

F

FatFile - Class in de.waldheinz.fs.fat
The in-memory representation of a single file (chain of clusters) on a FAT file system.
FatFileSystem - Class in de.waldheinz.fs.fat
Implements the FileSystem interface for the FAT family of file systems.
FatLfnDirectory - Class in de.waldheinz.fs.fat
The FsDirectory implementation for FAT file systems.
FatLfnDirectoryEntry - Class in de.waldheinz.fs.fat
Represents an entry in a FatLfnDirectory.
FatType - Enum in de.waldheinz.fs.fat
Enumerates the different entry sizes of 12, 16 and 32 bits for the different FAT flavours.
FileDisk - Class in de.waldheinz.fs.util
This is a BlockDevice that uses a File as it's backing store.
FileDisk(File, boolean) - Constructor for class de.waldheinz.fs.util.FileDisk
Creates a new instance of FileDisk for the specified File.
FileSystem - Interface in de.waldheinz.fs
The interface common to all file system implementations.
FileSystemFactory - Class in de.waldheinz.fs
Factory for FileSystem instances.
flush() - Method in interface de.waldheinz.fs.BlockDevice
Flushes data in caches to the actual storage.
flush() - Method in class de.waldheinz.fs.fat.FatFile
Has no effect besides possibly throwing an ReadOnlyException.
flush() - Method in class de.waldheinz.fs.fat.FatFileSystem
Flush all changed structures to the device.
flush() - Method in class de.waldheinz.fs.fat.FatLfnDirectory
 
flush() - Method in interface de.waldheinz.fs.FileSystem
Flushes any modified file system structures to the underlying storage.
flush() - Method in interface de.waldheinz.fs.FsDirectory
Save all dirty (unsaved) data to the device.
flush() - Method in interface de.waldheinz.fs.FsFile
Flush any possibly cached data to the disk.
flush() - Method in class de.waldheinz.fs.util.FileDisk
 
flush() - Method in class de.waldheinz.fs.util.RamDisk
 
format() - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Initializes the boot sector and file system for the device.
FsDirectory - Interface in de.waldheinz.fs
Base class for all FileSystem directories.
FsDirectoryEntry - Interface in de.waldheinz.fs
Represents one entry in a FsDirectory.
FsFile - Interface in de.waldheinz.fs
A FsFile is a representation of a single block of bytes on a filesystem.
FsObject - Interface in de.waldheinz.fs
This interface is the base interface for objects that are part of a FileSystem.

G

get(BlockDevice) - Static method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Retruns a SuperFloppyFormatter instance suitable for formatting the specified device.
getBuffer() - Method in class de.waldheinz.fs.util.RamDisk
Returns a slice of the ByteBuffer that is used by this RamDisk as it's backing store.
getCreated() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getCreated() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Returns the time when this entry was created as ms since 1970.
getCurrentCapacity() - Method in exception de.waldheinz.fs.fat.DirectoryFullException
Returns the current capacity of the directory.
getDirectory() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getDirectory() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Gets the directory this entry refers to.
getEntry(String) - Method in class de.waldheinz.fs.fat.FatLfnDirectory
Gets the entry with the given name. According to the FAT file system specification, leading and trailing spaces in the name are ignored by this method.
getEntry(String) - Method in interface de.waldheinz.fs.FsDirectory
Gets the entry with the given name.
getFatType() - Method in class de.waldheinz.fs.fat.FatFileSystem
Returns the size of the FAT entries of this FatFileSystem.
getFatType() - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Returns the exact type of FAT the will be created by this formatter.
getFile() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getFile() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Gets the file this entry refers to.
getFreeSpace() - Method in class de.waldheinz.fs.fat.FatFileSystem
The free space of this file system. This method is currently not implemented for FatFileSystem and always returns -1.
getFreeSpace() - Method in interface de.waldheinz.fs.FileSystem
The free space of this file system.
getLastAccessed() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getLastAccessed() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Returns the time when this entry was last accessed as ms since 1970.
getLastModified() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getLastModified() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Gets the last modification time of this entry.
getLength() - Method in class de.waldheinz.fs.fat.FatFile
Returns the length of this file in bytes.
getLength() - Method in interface de.waldheinz.fs.FsFile
Gets the length (in bytes) of this file.
getName() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getName() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Gets the name of this entry.
getOemName() - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Returns the OEM name that will be written to the BootSector.
getParent() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
getParent() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Deprecated. deprecated since version 0.6 because in the presence of hard links it might not always be possible to determine the parent directory of an entry
getRequestedCapacity() - Method in exception de.waldheinz.fs.fat.DirectoryFullException
Returns the capacity the directory tried to grow, which did not succeed.
getRoot() - Method in class de.waldheinz.fs.fat.FatFileSystem
 
getRoot() - Method in interface de.waldheinz.fs.FileSystem
Gets the root entry of this filesystem.
getSectorSize() - Method in interface de.waldheinz.fs.BlockDevice
Returns the size of a sector on this device.
getSectorSize() - Method in class de.waldheinz.fs.util.FileDisk
 
getSectorSize() - Method in class de.waldheinz.fs.util.RamDisk
 
getSize() - Method in interface de.waldheinz.fs.BlockDevice
Gets the total length of this device in bytes.
getSize() - Method in class de.waldheinz.fs.util.FileDisk
 
getSize() - Method in class de.waldheinz.fs.util.RamDisk
 
getTotalSpace() - Method in class de.waldheinz.fs.fat.FatFileSystem
The total size of this file system. This method is currently not implemented for FatFileSystem and always returns -1.
getTotalSpace() - Method in interface de.waldheinz.fs.FileSystem
The total size of this file system.
getUsableSpace() - Method in class de.waldheinz.fs.fat.FatFileSystem
The usable space of this file system. This method is currently not implemented for FatFileSystem and always returns -1.
getUsableSpace() - Method in interface de.waldheinz.fs.FileSystem
The usable space of this file system.
getVolumeLabel() - Method in class de.waldheinz.fs.fat.FatFileSystem
Returns the volume label of this file system.
getVolumeLabel() - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Returns the volume label that will be given to the new file system.

I

invalidate() - Method in class de.waldheinz.fs.AbstractFsObject
Marks this object as invalid.
isArchiveFlag() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Returns if this directory entry has the FAT "archive" flag set.
isClosed() - Method in class de.waldheinz.fs.AbstractFileSystem
 
isClosed() - Method in interface de.waldheinz.fs.BlockDevice
Checks if this device was already closed.
isClosed() - Method in interface de.waldheinz.fs.FileSystem
Returns true if this file system is closed.
isClosed() - Method in class de.waldheinz.fs.util.FileDisk
 
isClosed() - Method in class de.waldheinz.fs.util.RamDisk
 
isDirectory() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
isDirectory() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Is this entry refering to a (sub-)directory?
isDirty() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
isDirty() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Indicate if the entry has been modified in memory (ie need to be saved)
isFile() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
isFile() - Method in interface de.waldheinz.fs.FsDirectoryEntry
Is this entry refering to a file?
isHiddenFlag() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Returns if this directory entry has the FAT "hidden" flag set.
isReadOnly() - Method in class de.waldheinz.fs.AbstractFileSystem
 
isReadOnly() - Method in class de.waldheinz.fs.AbstractFsObject
 
isReadOnly() - Method in interface de.waldheinz.fs.BlockDevice
Checks if this BlockDevice is read-only.
isReadOnly() - Method in interface de.waldheinz.fs.FileSystem
Returns if this FileSystem is in read-only mode.
isReadOnly() - Method in interface de.waldheinz.fs.FsObject
Checks if this FsObject is read-only.
isReadOnly() - Method in class de.waldheinz.fs.util.FileDisk
 
isReadOnly() - Method in class de.waldheinz.fs.util.RamDisk
Returns always false, as a RamDisk is always writable.
isReadOnlyFlag() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Returns if this directory entry has the FAT "read-only" flag set.
isSystemFlag() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Returns if this directory entry has the FAT "system" flag set.
isValid() - Method in class de.waldheinz.fs.AbstractFsObject
Checks if this FsObject is still valid.
isValid() - Method in interface de.waldheinz.fs.FsObject
Checks if this FsObject is still valid.
iterator() - Method in class de.waldheinz.fs.fat.FatLfnDirectory
 
iterator() - Method in interface de.waldheinz.fs.FsDirectory
Gets an iterator to iterate over the entries of this directory.

M

MEDIUM_DESCRIPTOR_HD - Static variable in class de.waldheinz.fs.fat.SuperFloppyFormatter
The media descriptor used (hard disk).
moveTo(FatLfnDirectory, String) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Moves this entry to a new directory under the specified name.

R

RamDisk - Class in de.waldheinz.fs.util
A BlockDevice that lives entirely in heap memory.
RamDisk(int) - Constructor for class de.waldheinz.fs.util.RamDisk
Creates a new instance of RamDisk of this specified size and using the RamDisk.DEFAULT_SECTOR_SIZE.
RamDisk(int, int) - Constructor for class de.waldheinz.fs.util.RamDisk
Creates a new instance of RamDisk of this specified size and sector size
read(long, ByteBuffer) - Method in interface de.waldheinz.fs.BlockDevice
Read a block of data from this device.
read(long, ByteBuffer) - Method in class de.waldheinz.fs.fat.FatFile
Reads from this file into the specified ByteBuffer. Unless this file is read-ony, this method also updates the "last accessed" field in the directory entry that is associated with this file.
read(BlockDevice, boolean) - Static method in class de.waldheinz.fs.fat.FatFileSystem
Reads the file system structure from the specified BlockDevice and returns a fresh FatFileSystem instance to read or modify it.
read(long, ByteBuffer) - Method in interface de.waldheinz.fs.FsFile
Reads from this file into the specified ByteBuffer.
read(long, ByteBuffer) - Method in class de.waldheinz.fs.util.FileDisk
 
read(long, ByteBuffer) - Method in class de.waldheinz.fs.util.RamDisk
 
readGzipped(InputStream) - Static method in class de.waldheinz.fs.util.RamDisk
Reads a GZIP compressed disk image from the specified input stream and returns a RamDisk holding the decompressed image.
readGzipped(File) - Static method in class de.waldheinz.fs.util.RamDisk
Reads a GZIP compressed file into a new RamDisk instance.
ReadOnlyException - Exception in de.waldheinz.fs
This exception is thrown when an attempt is made to write to a read-only BlockDevice, FileSystem or other file system object.
ReadOnlyException() - Constructor for exception de.waldheinz.fs.ReadOnlyException
Creates a new instance of ReadOnlyException.
remove(String) - Method in class de.waldheinz.fs.fat.FatLfnDirectory
Remove the entry with the given name from this directory.
remove(String) - Method in interface de.waldheinz.fs.FsDirectory
Remove the entry with the given name from this directory.

S

setArchiveFlag(boolean) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Sets the "archive" flag on this FatLfnDirectoryEntry to the specified value.
setFatType(FatType) - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Sets the type of FAT that will be created by this SuperFloppyFormatter.
setHiddenFlag(boolean) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Sets the "hidden" flag on this FatLfnDirectoryEntry to the specified value.
setLastModified(long) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
setLastModified(long) - Method in interface de.waldheinz.fs.FsDirectoryEntry
Sets the last modification time of this entry.
setLength(long) - Method in class de.waldheinz.fs.fat.FatFile
Sets the size (in bytes) of this file.
setLength(long) - Method in interface de.waldheinz.fs.FsFile
Sets the length of this file.
setName(String) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 
setName(String) - Method in interface de.waldheinz.fs.FsDirectoryEntry
Sets the name of this entry.
setOemName(String) - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Sets the OEM name of the boot sector.
setReadOnlyFlag(boolean) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Sets the "read only" flag on this FatLfnDirectoryEntry to the specified value.
setSystemFlag(boolean) - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
Sets the "system" flag on this FatLfnDirectoryEntry to the specified value.
setVolumeLabel(String) - Method in class de.waldheinz.fs.fat.FatFileSystem
Sets the volume label for this file system.
setVolumeLabel(String) - Method in class de.waldheinz.fs.fat.SuperFloppyFormatter
Sets the volume label of the file system to create.
SuperFloppyFormatter - Class in de.waldheinz.fs.fat
Allows to create FAT file systems on BlockDevices which follow the "super floppy" standard.

T

toString() - Method in class de.waldheinz.fs.fat.FatFile
Returns a human-readable string representation of this FatFile, mainly for debugging purposes.
toString() - Method in class de.waldheinz.fs.fat.FatLfnDirectory
 
toString() - Method in class de.waldheinz.fs.fat.FatLfnDirectoryEntry
 

V

valueOf(String) - Static method in enum de.waldheinz.fs.fat.FatType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.waldheinz.fs.fat.FatType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(long, ByteBuffer) - Method in interface de.waldheinz.fs.BlockDevice
Writes a block of data to this device.
write(long, ByteBuffer) - Method in class de.waldheinz.fs.fat.FatFile
Writes to this file taking the data to write from the specified ByteBuffer. If the data to be written extends beyond the current length of this file, an attempt is made to grow the file so that the data will fit.
write(long, ByteBuffer) - Method in interface de.waldheinz.fs.FsFile
Writes to this file taking the data to write from the specified ByteBuffer.
write(long, ByteBuffer) - Method in class de.waldheinz.fs.util.FileDisk
 
write(long, ByteBuffer) - Method in class de.waldheinz.fs.util.RamDisk
 

A B C D F G I M R S T V W

Copyright © 2014. All rights reserved.