java.lang.Object
org.jempeg.empeg.emptool.AbstractFIDNode
org.jempeg.empeg.emptool.FIDLocalFile
- All Implemented Interfaces:
- java.io.Serializable
- public class FIDLocalFile
- extends AbstractFIDNode
FIDLocalFile is used to represent a file that
has just been added to the player database but
has not yet been synced with the Empeg.
- Version:
- $Revision: 1.11 $
| Methods inherited from class org.jempeg.empeg.emptool.AbstractFIDNode |
equals, getDB, getFID, getGFID, getIntTag, getLongTag, getReferenceCount, getTag, getTag, getTags, getTitle, getType, hashCode, increaseReference, isDirty, isReferenced, markDirty, removeReference, resetReferences, setDB, setTag, setTag, setTitle, unmarkDirty, whichTags |
myFileToNode
private static java.util.Hashtable myFileToNode
myID
private java.lang.Object myID
myFile
private ImportFileIfc myFile
FIDLocalFile
public FIDLocalFile(PlayerDatabase _db,
ImportFileIfc _file,
NodeTags _tags)
throws java.io.IOException
create
public static FIDLocalFile create(PlayerDatabase _db,
ImportFileIfc _file)
throws java.io.IOException
delete
public void delete()
throws java.io.IOException
- Overrides:
delete in class AbstractFIDNode
repair
public int repair(boolean _doRepair)
throws java.io.IOException
- Specified by:
repair in class AbstractFIDNode
synchronize
public void synchronize()
throws java.io.IOException
- Specified by:
synchronize in class AbstractFIDNode
cloneInto
public AbstractFIDNode cloneInto(PlayerDatabase _db)
- FIDLocalFiles are always copied-by-reference, because
they are transient stubs that are only created
between syncs. If you try to clone a remote
LocalFile, it will throw an IllegalArgumentException.
- Specified by:
cloneInto in class AbstractFIDNode
identify
public void identify()
throws java.io.IOException
- Identifies a node and resets all the frame info tags on the given node.
- Specified by:
identify in class AbstractFIDNode
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()).
- Overrides:
toString in class AbstractFIDNode