|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileTypeIdentifier
The FileTypeIdentifier
interface defines methods for identifying
the file type based on either a fully qualified path to the file or simply a
string name for the file.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
Method Summary | |
---|---|
FileTypes |
fromPath(java.io.File theFile)
Determines the file type from the given path |
FileTypes |
fromString(java.lang.String theFile)
Determines the file type from the given string |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
FileTypes fromPath(java.io.File theFile)
theFile
- The full path and name of the file
FileTypes fromString(java.lang.String theFile)
theFile
- A string representing the file. This string is typically
just a file path.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |