A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

A

AbstractUsbFile - Class in com.github.mjdev.libaums.fs
Created by magnusja on 3/1/17.
AbstractUsbFile() - Constructor for class com.github.mjdev.libaums.fs.AbstractUsbFile
 
APPLE_HFS_HFS_PLUS - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
available() - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 

B

BlockDeviceDriver - Interface in com.github.mjdev.libaums.driver
This interface describes a simple block device with a certain block size and the ability to read and write at a certain device offset.
BlockDeviceDriverFactory - Class in com.github.mjdev.libaums.driver
A helper class to create different BlockDeviceDrivers.
BlockDeviceDriverFactory() - Constructor for class com.github.mjdev.libaums.driver.BlockDeviceDriverFactory
 
bulkInTransfer(ByteBuffer) - Method in interface com.github.mjdev.libaums.usb.UsbCommunication
Performs a bulk in transfer beginning at offset zero in the buffer of length buffer#remaining().
bulkOutTransfer(ByteBuffer) - Method in interface com.github.mjdev.libaums.usb.UsbCommunication
Performs a bulk out transfer beginning at the offset specified in the buffer of length buffer#remaining().
ByteBlockDevice - Class in com.github.mjdev.libaums.driver
Simple class which wraps around an existing BlockDeviceDriver to enable byte addressing of content.
ByteBlockDevice(BlockDeviceDriver) - Constructor for class com.github.mjdev.libaums.driver.ByteBlockDevice
 
ByteBlockDevice(BlockDeviceDriver, int) - Constructor for class com.github.mjdev.libaums.driver.ByteBlockDevice
 

C

close() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
close() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
close() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Closes and flushes the file.
close() - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 
close() - Method in class com.github.mjdev.libaums.fs.UsbFileOutputStream
 
close() - Method in class com.github.mjdev.libaums.UsbMassStorageDevice
Releases the UsbInterface and closes the UsbDeviceConnection.
ClusterChain - Class in com.github.mjdev.libaums.fs.fat32
This class represents a cluster chain which can be followed in the FAT of a FAT32 file system.
com.github.mjdev.libaums - package com.github.mjdev.libaums
 
com.github.mjdev.libaums.driver - package com.github.mjdev.libaums.driver
 
com.github.mjdev.libaums.driver.file - package com.github.mjdev.libaums.driver.file
 
com.github.mjdev.libaums.driver.scsi - package com.github.mjdev.libaums.driver.scsi
 
com.github.mjdev.libaums.driver.scsi.commands - package com.github.mjdev.libaums.driver.scsi.commands
 
com.github.mjdev.libaums.fs - package com.github.mjdev.libaums.fs
 
com.github.mjdev.libaums.fs.fat32 - package com.github.mjdev.libaums.fs.fat32
 
com.github.mjdev.libaums.partition - package com.github.mjdev.libaums.partition
 
com.github.mjdev.libaums.partition.fs - package com.github.mjdev.libaums.partition.fs
 
com.github.mjdev.libaums.partition.mbr - package com.github.mjdev.libaums.partition.mbr
 
com.github.mjdev.libaums.usb - package com.github.mjdev.libaums.usb
 
COMMAND_FAILED - Static variable in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
SCSI command could not be executed, host should issue an SCSI request sense.
COMMAND_PASSED - Static variable in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
SCSI command has successfully been executed.
CommandBlockWrapper - Class in com.github.mjdev.libaums.driver.scsi.commands
This class represents the command block wrapper (CBW) which is always wrapped around a specific SCSI command in the SCSI transparent command set standard.
CommandBlockWrapper(int, CommandBlockWrapper.Direction, byte, byte) - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Constructs a new command block wrapper with the given information which can than easily be serialized with CommandBlockWrapper.serialize(ByteBuffer).
CommandBlockWrapper.Direction - Enum in com.github.mjdev.libaums.driver.scsi.commands
The direction of the data phase of the SCSI command.
CommandStatusWrapper - Class in com.github.mjdev.libaums.driver.scsi.commands
This class represents the command status wrapper (CSW) in the SCSI transparent command set standard, which is transmitted from the device to the host after the data phase (if any).
CommandStatusWrapper() - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
 
create(FatLfnDirectoryEntry, BlockDeviceDriver, FAT, Fat32BootSector, FatDirectory) - Static method in class com.github.mjdev.libaums.fs.fat32.FatFile
Creates a new file with the given information.
createBlockDevice(UsbCommunication) - Static method in class com.github.mjdev.libaums.driver.BlockDeviceDriverFactory
This method creates a BlockDeviceDriver which is suitable for the underlying mass storage device.
createBufferedInputStream(UsbFile, FileSystem) - Static method in class com.github.mjdev.libaums.fs.UsbFileStreamFactory
 
createBufferedOutputStream(UsbFile, FileSystem) - Static method in class com.github.mjdev.libaums.fs.UsbFileStreamFactory
 
createdAt() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
createdAt() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
createdAt() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Returns the time this directory or file was created.
createDirectory(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
createDirectory(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
createDirectory(String) - Method in interface com.github.mjdev.libaums.fs.UsbFile
This methods creates a new directory with the given name and returns it.
createFile(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
createFile(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
createFile(String) - Method in interface com.github.mjdev.libaums.fs.UsbFile
This methods creates a new file with the given name and returns it.
createFileSystem(PartitionTableEntry, BlockDeviceDriver) - Static method in class com.github.mjdev.libaums.fs.FileSystemFactory
 
createPartition(PartitionTableEntry, BlockDeviceDriver) - Static method in class com.github.mjdev.libaums.partition.Partition
Creates a new partition with the information given.
createPartitionTable(BlockDeviceDriver) - Static method in class com.github.mjdev.libaums.partition.PartitionTableFactory
Creates a PartitionTable suitable for the given block device.
createUsbCommunication(UsbDeviceConnection, UsbEndpoint, UsbEndpoint) - Static method in class com.github.mjdev.libaums.usb.UsbCommunicationFactory
 

D

dCbwDataTransferLength - Variable in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
 
delete() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
delete() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
delete() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Deletes this file or directory from the parent directory.
DEVICE_CONNECTION_SYNC - com.github.mjdev.libaums.usb.UsbCommunicationFactory.UnderlyingUsbCommunication
 

E

equals(Object) - Method in class com.github.mjdev.libaums.fs.AbstractUsbFile
 
ErrNo - Class in com.github.mjdev.libaums
Created by magnusja on 5/19/17.
ErrNo() - Constructor for class com.github.mjdev.libaums.ErrNo
 

F

FAT - Class in com.github.mjdev.libaums.fs.fat32
This class represents the File Allocation Table (FAT) in a FAT32 file system.
FAT12 - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
FAT16 - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
FAT32 - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
Fat32FileSystem - Class in com.github.mjdev.libaums.fs.fat32
This class represents the FAT32 file system and is responsible for setting the FAT32 file system up and extracting the volume label and the root directory.
Fat32FileSystemCreator - Class in com.github.mjdev.libaums.fs.fat32
Created by magnusja on 28/02/17.
Fat32FileSystemCreator() - Constructor for class com.github.mjdev.libaums.fs.fat32.Fat32FileSystemCreator
 
FatDirectory - Class in com.github.mjdev.libaums.fs.fat32
This class represents a directory in the FAT32 file system.
FatFile - Class in com.github.mjdev.libaums.fs.fat32
 
FileBlockDeviceDriver - Class in com.github.mjdev.libaums.driver.file
Created by magnusja on 01/08/17.
FileBlockDeviceDriver(File) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileBlockDeviceDriver(File, int) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileBlockDeviceDriver(File, int, int) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileBlockDeviceDriver(URL) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileBlockDeviceDriver(URL, int) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileBlockDeviceDriver(URL, int, int) - Constructor for class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
FileSystem - Interface in com.github.mjdev.libaums.fs
This class represents a file system.
FileSystemCreator - Interface in com.github.mjdev.libaums.fs
Created by magnusja on 28/02/17.
FileSystemFactory - Class in com.github.mjdev.libaums.fs
This is a helper class to create different supported file systems.
FileSystemFactory() - Constructor for class com.github.mjdev.libaums.fs.FileSystemFactory
 
FileSystemFactory.UnsupportedFileSystemException - Exception in com.github.mjdev.libaums.fs
 
FileSystemPartitionTable - Class in com.github.mjdev.libaums.partition.fs
Represents a dummy partition table.
FileSystemPartitionTable(BlockDeviceDriver, FileSystem) - Constructor for class com.github.mjdev.libaums.partition.fs.FileSystemPartitionTable
 
FileSystemPartitionTableCreator - Class in com.github.mjdev.libaums.partition.fs
Created by magnusja on 30/07/17.
FileSystemPartitionTableCreator() - Constructor for class com.github.mjdev.libaums.partition.fs.FileSystemPartitionTableCreator
 
flush() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
flush() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
flush() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Forces a write.
flush() - Method in class com.github.mjdev.libaums.fs.UsbFileOutputStream
 

G

getAbsolutePath() - Method in class com.github.mjdev.libaums.fs.AbstractUsbFile
 
getAbsolutePath() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Absolute path of a file or directory.
getbCswStatus() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
Returns the status of execution of the transmitted SCSI command.
getBlockDevice() - Method in class com.github.mjdev.libaums.UsbMassStorageDevice
Returns the block device interface for this device.
getBlockLength() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiReadCapacityResponse
Returns the size of each block in the block device.
getBlockSize() - Method in interface com.github.mjdev.libaums.driver.BlockDeviceDriver
Returns the block size of the block device.
getBlockSize() - Method in class com.github.mjdev.libaums.driver.ByteBlockDevice
 
getBlockSize() - Method in class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
getBlockSize() - Method in class com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice
 
getCapacity() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getCapacity() - Method in interface com.github.mjdev.libaums.fs.FileSystem
 
getChunkSize() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getChunkSize() - Method in interface com.github.mjdev.libaums.fs.FileSystem
 
getdCbwDataTransferLength() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Returns the amount of bytes which should be transmitted in the data phase.
getdCbwTag() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Returns the tag which can be used to determine the corresponding CBW.
getdCswDataResidue() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
Returns the amount of bytes which has not been processed yet in the data phase.
getdCswTag() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
Returns the tag which can be used to determine the corresponding CBW.
getDirection() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Returns the direction in the data phase.
getErrno() - Static method in class com.github.mjdev.libaums.ErrNo
 
getErrnoNative() - Static method in class com.github.mjdev.libaums.ErrNo
 
getErrstr() - Static method in class com.github.mjdev.libaums.ErrNo
 
getErrstrNative() - Static method in class com.github.mjdev.libaums.ErrNo
 
getFileSystem() - Method in class com.github.mjdev.libaums.partition.Partition
 
getFreeSpace() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getFreeSpace() - Method in interface com.github.mjdev.libaums.fs.FileSystem
ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties.
getLength() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
getLength() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
getLength() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Returns the file length or throws an exception if called on a directory.
getLogicalBlockAddress() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiReadCapacityResponse
Returns the address of the last accessible block on the block device.
getLogicalBlockAddress() - Method in class com.github.mjdev.libaums.partition.PartitionTableEntry
 
getMassStorageDevices(Context) - Static method in class com.github.mjdev.libaums.UsbMassStorageDevice
This method iterates through all connected USB devices and searches for mass storage devices.
getName() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
getName() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
getName() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Actual file or directory name or '/' for root directory.
getOccupiedSpace() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getOccupiedSpace() - Method in interface com.github.mjdev.libaums.fs.FileSystem
ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties.
getParent() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
getParent() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
getParent() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Returns the parent directory for the file or directory or null if this is the root directory.
getPartitions() - Method in class com.github.mjdev.libaums.UsbMassStorageDevice
Returns the available partitions of the mass storage device.
getPartitionTableEntries() - Method in class com.github.mjdev.libaums.partition.fs.FileSystemPartitionTable
 
getPartitionTableEntries() - Method in class com.github.mjdev.libaums.partition.mbr.MasterBootRecord
 
getPartitionTableEntries() - Method in interface com.github.mjdev.libaums.partition.PartitionTable
 
getPartitionType() - Method in class com.github.mjdev.libaums.partition.PartitionTableEntry
 
getPeripheralDeviceType() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
The type of the mass storage device.
getPeripheralQualifier() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
 
getResponseDataFormat() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
 
getRootDirectory() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getRootDirectory() - Method in interface com.github.mjdev.libaums.fs.FileSystem
This method returns the root directory of the file system.
getSize() - Method in class com.github.mjdev.libaums.partition.fs.FileSystemPartitionTable
 
getSize() - Method in class com.github.mjdev.libaums.partition.mbr.MasterBootRecord
 
getSize() - Method in interface com.github.mjdev.libaums.partition.PartitionTable
 
getSpcVersion() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
This method returns the version of the SCSI Primary Commands (SPC) standard the device supports.
getTimeZone() - Static method in class com.github.mjdev.libaums.fs.FileSystemFactory
 
getTotalNumberOfSectors() - Method in class com.github.mjdev.libaums.partition.PartitionTableEntry
 
getType() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getType() - Method in interface com.github.mjdev.libaums.fs.FileSystem
 
getUsbDevice() - Method in class com.github.mjdev.libaums.UsbMassStorageDevice
This returns the UsbDevice which can be used to request permission for communication.
getVolumeLabel() - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
 
getVolumeLabel() - Method in interface com.github.mjdev.libaums.fs.FileSystem
This method returns the name of the volume which is mostly saved in the file system.
getVolumeLabel() - Method in class com.github.mjdev.libaums.partition.Partition
This method returns the volume label of the file system / partition.

H

hashCode() - Method in class com.github.mjdev.libaums.fs.AbstractUsbFile
 

I

IN - com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper.Direction
Means from device to host (Android).
init() - Method in interface com.github.mjdev.libaums.driver.BlockDeviceDriver
Initializes the block device for further use.
init() - Method in class com.github.mjdev.libaums.driver.ByteBlockDevice
 
init() - Method in class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
init() - Method in class com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice
Issues a SCSI Inquiry to determine the connected device.
init() - Method in class com.github.mjdev.libaums.UsbMassStorageDevice
Initializes the mass storage device and determines different things like for example the MBR or the file systems for the different partitions.
init(int, int, int) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiRead10
 
init(int, int, int) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiWrite10
 
isDirectory() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
isDirectory() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
isDirectory() - Method in interface com.github.mjdev.libaums.fs.UsbFile
 
ISO9660 - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
isRemovableMedia() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
 
isRoot() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
isRoot() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
isRoot() - Method in interface com.github.mjdev.libaums.fs.UsbFile
 

L

lastAccessed() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
lastAccessed() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
lastAccessed() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Returns the time this directory or file was last accessed.
lastModified() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
lastModified() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
lastModified() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Returns the time this directory or file was last modified.
LINUX_EXT - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
list() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
list() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
list() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Lists all files in the directory.
listFiles() - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
listFiles() - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
listFiles() - Method in interface com.github.mjdev.libaums.fs.UsbFile
Lists all files in the directory.

M

MasterBootRecord - Class in com.github.mjdev.libaums.partition.mbr
This class represents the Master Boot Record (MBR), which is a partition table used by most block devices coming from Windows or Unix.
MasterBootRecordCreator - Class in com.github.mjdev.libaums.partition.mbr
Created by magnusja on 30/07/17.
MasterBootRecordCreator() - Constructor for class com.github.mjdev.libaums.partition.mbr.MasterBootRecordCreator
 
moveTo(UsbFile) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
moveTo(UsbFile) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
moveTo(UsbFile) - Method in interface com.github.mjdev.libaums.fs.UsbFile
This methods moves THIS item to the destination directory.

N

NONE - com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper.Direction
There is no data phase
NTFS_EXFAT - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 

O

OUT - com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper.Direction
Means from host (Android) to device.

P

Partition - Class in com.github.mjdev.libaums.partition
This class represents a partition on an mass storage device.
PartitionTable - Interface in com.github.mjdev.libaums.partition
This interface represents a partition table.
PartitionTableEntry - Class in com.github.mjdev.libaums.partition
Class which holds various information about the partitions located on a block device.
PartitionTableEntry(int, int, int) - Constructor for class com.github.mjdev.libaums.partition.PartitionTableEntry
Construct a new PartitionTableEntry with the given information.
PartitionTableFactory - Class in com.github.mjdev.libaums.partition
Helper class to create different supported PartitionTables.
PartitionTableFactory() - Constructor for class com.github.mjdev.libaums.partition.PartitionTableFactory
 
PartitionTableFactory.PartitionTableCreator - Interface in com.github.mjdev.libaums.partition
 
PartitionTableFactory.UnsupportedPartitionTableException - Exception in com.github.mjdev.libaums.partition
 
PartitionTypes - Class in com.github.mjdev.libaums.partition
Created by magnusja on 28/02/17.
PartitionTypes() - Constructor for class com.github.mjdev.libaums.partition.PartitionTypes
 
PHASE_ERROR - Static variable in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
SCSI command could not be executed, host should issue a mass storage reset.

R

read() - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 
read(byte[]) - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 
read(byte[], int, int) - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 
read(long, ByteBuffer) - Method in interface com.github.mjdev.libaums.driver.BlockDeviceDriver
Reads from the block device at a certain offset into the given buffer.
read(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.ByteBlockDevice
 
read(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
read(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice
This method reads from the device at the specific device offset.
read(long, ByteBuffer) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
read(long, ByteBuffer) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
read(long, ByteBuffer) - Method in interface com.github.mjdev.libaums.fs.UsbFile
Reads from a file or throws an exception if called on a directory.
read(BlockDeviceDriver) - Static method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystem
This method constructs a FAT32 file system for the given block device.
read(BlockDeviceDriver) - Method in class com.github.mjdev.libaums.partition.fs.FileSystemPartitionTableCreator
 
read(BlockDeviceDriver) - Method in class com.github.mjdev.libaums.partition.mbr.MasterBootRecordCreator
 
read(BlockDeviceDriver) - Method in interface com.github.mjdev.libaums.partition.PartitionTableFactory.PartitionTableCreator
 
read(PartitionTableEntry, BlockDeviceDriver) - Method in class com.github.mjdev.libaums.fs.fat32.Fat32FileSystemCreator
 
read(PartitionTableEntry, BlockDeviceDriver) - Method in interface com.github.mjdev.libaums.fs.FileSystemCreator
 
read(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
Reads command block wrapper from the specified buffer and stores it into this object.
read(ByteBuffer) - Static method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
Constructs a new object with the given data.
read(ByteBuffer) - Static method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiReadCapacityResponse
Constructs a new object with the given data.
read(ByteBuffer) - Static method in class com.github.mjdev.libaums.partition.mbr.MasterBootRecord
Reads and parses the MBR located in the buffer.
registerFileSystem(FileSystemCreator) - Static method in class com.github.mjdev.libaums.fs.FileSystemFactory
Register a new file system.
registerPartitionTable(PartitionTableFactory.PartitionTableCreator) - Static method in class com.github.mjdev.libaums.partition.PartitionTableFactory
 

S

ScsiBlockDevice - Class in com.github.mjdev.libaums.driver.scsi
This class is responsible for handling mass storage devices which follow the SCSI standard.
ScsiBlockDevice(UsbCommunication) - Constructor for class com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice
 
ScsiInquiry - Class in com.github.mjdev.libaums.driver.scsi.commands
This class represents a SCSI Inquiry command.
ScsiInquiry(byte) - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiry
 
ScsiInquiryResponse - Class in com.github.mjdev.libaums.driver.scsi.commands
This class represents the response of a SCSI Inquiry.
ScsiRead10 - Class in com.github.mjdev.libaums.driver.scsi.commands
SCSI command to read from the mass storage device.
ScsiRead10() - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiRead10
Constructs a new read command without any information.
ScsiRead10(int, int, int) - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiRead10
Constructs a new read command with the given information.
ScsiReadCapacity - Class in com.github.mjdev.libaums.driver.scsi.commands
Represents the command to read the capacity from the mass storage device.
ScsiReadCapacity() - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiReadCapacity
 
ScsiReadCapacityResponse - Class in com.github.mjdev.libaums.driver.scsi.commands
Represents the response of a read capacity request.
ScsiRequestSense - Class in com.github.mjdev.libaums.driver.scsi.commands
This class is used to issue a SCSI request sense when a command has failed.
ScsiRequestSense(byte) - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiRequestSense
 
ScsiTestUnitReady - Class in com.github.mjdev.libaums.driver.scsi.commands
This command is used to determine if the logical unit of the mass storage device is ready.
ScsiTestUnitReady() - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiTestUnitReady
 
ScsiWrite10 - Class in com.github.mjdev.libaums.driver.scsi.commands
SCSI command to write to the mass storage device.
ScsiWrite10() - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiWrite10
Constructs a new write command without any information.
ScsiWrite10(int, int, int) - Constructor for class com.github.mjdev.libaums.driver.scsi.commands.ScsiWrite10
Constructs a new write command with the given information.
search(String) - Method in class com.github.mjdev.libaums.fs.AbstractUsbFile
 
search(String) - Method in interface com.github.mjdev.libaums.fs.UsbFile
Tries to search a corresponding entry associated with the path parameter.
separator - Static variable in interface com.github.mjdev.libaums.fs.UsbFile
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Serializes the command block wrapper for transmission.
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiry
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiRead10
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiReadCapacity
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiRequestSense
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiTestUnitReady
 
serialize(ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiWrite10
 
setdCbwTag(int) - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
Sets the tag which can be used to determine the corresponding CBW.
setLength(long) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
setLength(long) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
setLength(long) - Method in interface com.github.mjdev.libaums.fs.UsbFile
Sets the new file length.
setName(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
setName(String) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
setName(String) - Method in interface com.github.mjdev.libaums.fs.UsbFile
Set a new name for this file or directory.
setTimeZone(TimeZone) - Static method in class com.github.mjdev.libaums.fs.FileSystemFactory
Set the timezone a file system should use to decode timestamps, if the file system only stores local date and time and has no reference which zone these timestamp correspond to.
setUnderlyingUsbCommunication(UsbCommunicationFactory.UnderlyingUsbCommunication) - Static method in class com.github.mjdev.libaums.usb.UsbCommunicationFactory
 
SIZE - Static variable in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
Every CSW has the same size.
skip(long) - Method in class com.github.mjdev.libaums.fs.UsbFileInputStream
 

T

toString() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiryResponse
 
toString() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiRead10
 
toString() - Method in class com.github.mjdev.libaums.driver.scsi.commands.ScsiWrite10
 
toString() - Method in class com.github.mjdev.libaums.fs.AbstractUsbFile
 
TRANSFER_TIMEOUT - Static variable in interface com.github.mjdev.libaums.usb.UsbCommunication
 

U

UNKNOWN - Static variable in class com.github.mjdev.libaums.partition.PartitionTypes
 
UnsupportedFileSystemException() - Constructor for exception com.github.mjdev.libaums.fs.FileSystemFactory.UnsupportedFileSystemException
 
UnsupportedPartitionTableException() - Constructor for exception com.github.mjdev.libaums.partition.PartitionTableFactory.UnsupportedPartitionTableException
 
USB_REQUEST_ASYNC - com.github.mjdev.libaums.usb.UsbCommunicationFactory.UnderlyingUsbCommunication
 
UsbCommunication - Interface in com.github.mjdev.libaums.usb
This Interface describes a low level device to perform USB transfers.
UsbCommunicationFactory - Class in com.github.mjdev.libaums.usb
Created by magnusja on 21/12/16.
UsbCommunicationFactory() - Constructor for class com.github.mjdev.libaums.usb.UsbCommunicationFactory
 
UsbCommunicationFactory.UnderlyingUsbCommunication - Enum in com.github.mjdev.libaums.usb
 
UsbFile - Interface in com.github.mjdev.libaums.fs
This class represents either an file or an directory.
UsbFileInputStream - Class in com.github.mjdev.libaums.fs
UsbFileInputStream provides common InputStream access to a UsbFile.
UsbFileInputStream(UsbFile) - Constructor for class com.github.mjdev.libaums.fs.UsbFileInputStream
 
UsbFileOutputStream - Class in com.github.mjdev.libaums.fs
UsbFileOutputStream provides common OutputStream access to a UsbFile.
UsbFileOutputStream(UsbFile) - Constructor for class com.github.mjdev.libaums.fs.UsbFileOutputStream
 
UsbFileStreamFactory - Class in com.github.mjdev.libaums.fs
Created by magnusja on 13/12/16.
UsbMassStorageDevice - Class in com.github.mjdev.libaums
Class representing a connected USB mass storage device.

V

valueOf(String) - Static method in enum com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mjdev.libaums.usb.UsbCommunicationFactory.UnderlyingUsbCommunication
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mjdev.libaums.usb.UsbCommunicationFactory.UnderlyingUsbCommunication
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(byte[]) - Method in class com.github.mjdev.libaums.fs.UsbFileOutputStream
 
write(byte[], int, int) - Method in class com.github.mjdev.libaums.fs.UsbFileOutputStream
 
write(int) - Method in class com.github.mjdev.libaums.fs.UsbFileOutputStream
 
write(long, ByteBuffer) - Method in interface com.github.mjdev.libaums.driver.BlockDeviceDriver
Writes to the block device at a certain offset from the given buffer.
write(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.ByteBlockDevice
 
write(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver
 
write(long, ByteBuffer) - Method in class com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice
This method writes from the device at the specific device offset.
write(long, ByteBuffer) - Method in class com.github.mjdev.libaums.fs.fat32.FatDirectory
 
write(long, ByteBuffer) - Method in class com.github.mjdev.libaums.fs.fat32.FatFile
 
write(long, ByteBuffer) - Method in interface com.github.mjdev.libaums.fs.UsbFile
Writes to a file or throws an exception if called on a directory.
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages