|
|||||||||
| Home >> All >> org >> jempeg >> empeg >> [ emptool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jempeg.empeg.emptool
Class LocalImportFile

java.lang.Objectorg.jempeg.empeg.emptool.LocalImportFile
- All Implemented Interfaces:
- ImportFileIfc
- public class LocalImportFile
- extends java.lang.Object
- implements ImportFileIfc
- extends java.lang.Object
| Field Summary | |
private java.io.File |
myFile
|
private java.lang.String |
myName
|
| Constructor Summary | |
LocalImportFile(java.io.File _file)
|
|
LocalImportFile(java.lang.String _name,
java.io.File _file)
|
|
| Method Summary | |
static ImportFileIfc[] |
createImportFiles(java.io.File[] _files)
|
NodeTags |
createNodeTags(PlayerDatabase _db)
|
ImportFileIfc[] |
getChildren()
|
java.io.File |
getFile()
|
java.lang.Object |
getID()
|
java.io.InputStream |
getInputStream()
|
long |
getLength()
|
java.lang.String |
getName()
|
org.jempeg.empeg.core.SeekableInputStream |
getSeekableInputStream()
|
void |
identify(AbstractFIDNode _node)
Identifies a file and sets all the appropriate tags on the given node. |
boolean |
isContainer()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
myFile
private java.io.File myFile
myName
private java.lang.String myName
| Constructor Detail |
LocalImportFile
public LocalImportFile(java.io.File _file)
LocalImportFile
public LocalImportFile(java.lang.String _name, java.io.File _file)
| Method Detail |
createImportFiles
public static ImportFileIfc[] createImportFiles(java.io.File[] _files)
getFile
public java.io.File getFile()
getID
public java.lang.Object getID()
- Specified by:
getIDin interfaceImportFileIfc
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceImportFileIfc
getLength
public long getLength()
- Specified by:
getLengthin interfaceImportFileIfc
createNodeTags
public NodeTags createNodeTags(PlayerDatabase _db)
- Specified by:
createNodeTagsin interfaceImportFileIfc
identify
public void identify(AbstractFIDNode _node) throws java.io.IOException
- Identifies a file and sets all the appropriate tags on the given node. For
instance, this will grab ID3 tags from MP3's.
- Specified by:
identifyin interfaceImportFileIfc
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStreamin interfaceImportFileIfc
getSeekableInputStream
public org.jempeg.empeg.core.SeekableInputStream getSeekableInputStream() throws java.io.IOException
- Specified by:
getSeekableInputStreamin interfaceImportFileIfc
isContainer
public boolean isContainer()
- Specified by:
isContainerin interfaceImportFileIfc
getChildren
public ImportFileIfc[] getChildren()
- Specified by:
getChildrenin interfaceImportFileIfc
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> jempeg >> empeg >> [ emptool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jempeg.empeg.emptool.LocalImportFile