- 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.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.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
-
- 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
-
- createUsbCommunication(UsbDeviceConnection, UsbEndpoint, UsbEndpoint) - Static method in class com.github.mjdev.libaums.usb.UsbCommunicationFactory
-
- getbCswStatus() - Method in class com.github.mjdev.libaums.driver.scsi.commands.CommandStatusWrapper
-
Returns the status of execution of the transmitted SCSI command.
- 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.scsi.ScsiBlockDevice
-
- getBlockSize() - Method in class com.github.mjdev.libaums.partition.Partition
-
- 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
-
- 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.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.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.
- getTotalNumberOfSectors() - Method in class com.github.mjdev.libaums.partition.PartitionTableEntry
-
- 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.
- 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 class com.github.mjdev.libaums.fs.fat32.FatFile
-
- 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.
- 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
-