|
|||||||||
| 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 RemoteImportFile

java.lang.Objectorg.jempeg.empeg.emptool.RemoteImportFile
- All Implemented Interfaces:
- ImportFileIfc
- public class RemoteImportFile
- extends java.lang.Object
- implements ImportFileIfc
- extends java.lang.Object
| Field Summary | |
private java.lang.String |
myID
|
private PlayerDatabase |
myRemoteDB
|
private int |
myRemoteFID
|
private AbstractFIDNode |
myRemoteNode
|
| Constructor Summary | |
RemoteImportFile(AbstractFIDNode _remoteNode)
|
|
RemoteImportFile(PlayerDatabase _remoteDB,
int _remoteFID)
|
|
| Method Summary | |
NodeTags |
createNodeTags(PlayerDatabase _db)
|
protected byte[] |
getBytes()
|
ImportFileIfc[] |
getChildren()
|
java.lang.Object |
getID()
|
java.io.InputStream |
getInputStream()
|
long |
getLength()
|
java.lang.String |
getName()
|
protected AbstractFIDNode |
getNode()
|
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 |
myID
private java.lang.String myID
myRemoteDB
private PlayerDatabase myRemoteDB
myRemoteNode
private AbstractFIDNode myRemoteNode
myRemoteFID
private int myRemoteFID
| Constructor Detail |
RemoteImportFile
public RemoteImportFile(AbstractFIDNode _remoteNode) throws java.io.IOException
RemoteImportFile
public RemoteImportFile(PlayerDatabase _remoteDB, int _remoteFID) throws java.io.IOException
| Method Detail |
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
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
createNodeTags
public NodeTags createNodeTags(PlayerDatabase _db)
- Specified by:
createNodeTagsin 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
getBytes
protected byte[] getBytes()
throws java.io.IOException
getNode
protected AbstractFIDNode getNode()
isContainer
public boolean isContainer()
- Specified by:
isContainerin interfaceImportFileIfc
getChildren
public ImportFileIfc[] getChildren() throws java.io.IOException
- 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.RemoteImportFile