Package | Description |
---|---|
com.drew.imaging |
Contains classes for working with image file formats and photographic conversions.
|
com.drew.imaging.mp3 |
Contains classes for working with MP3 files.
|
com.drew.imaging.quicktime |
Contains classes for working with QuickTime files.
|
com.drew.imaging.riff |
Contains classes for working with RIFF format files, such as WebP.
|
com.drew.metadata.file |
Contains classes for the extraction and modelling of file system metadata.
|
Modifier and Type | Method and Description |
---|---|
FileType |
TypeChecker.checkType(byte[] bytes)
Returns the file type identified within 'bytes', otherwise 'Unknown'.
|
static FileType |
FileTypeDetector.detectFileType(InputStream inputStream)
Examines the file's bytes and estimates the file's type.
|
static FileType |
FileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
FileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Metadata |
ImageMetadataReader.readMetadata(InputStream inputStream,
long streamLength,
FileType fileType)
Reads metadata from an
InputStream of known length and file type. |
Modifier and Type | Method and Description |
---|---|
FileType |
MpegAudioTypeChecker.checkType(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
FileType |
QuickTimeTypeChecker.checkType(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
FileType |
RiffTypeChecker.checkType(byte[] bytes) |
Constructor and Description |
---|
FileTypeDirectory(FileType fileType) |
Copyright © 2002-2020 Drew Noakes. All Rights Reserved.