Class ShareResourceDirImpl
java.lang.Object
com.biglybt.pifimpl.local.sharing.ShareResourceImpl
com.biglybt.pifimpl.local.sharing.ShareResourceFileOrDirImpl
com.biglybt.pifimpl.local.sharing.ShareResourceDirImpl
- All Implemented Interfaces:
ShareResource, ShareResourceDir
-
Field Summary
Fields inherited from class ShareResourceImpl
attributes, change_listeners, deletion_listeners, hasher, manager, parent, typeFields inherited from interface ShareResource
ST_DIR, ST_DIR_CONTENTS, ST_FILE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedShareResourceDirImpl(ShareManagerImpl _manager, ShareResourceDirContentsImpl _parent, File _file, boolean _personal, Map<String, String> _properties) protectedShareResourceDirImpl(ShareManagerImpl _manager, File _file, Map _map) -
Method Summary
Modifier and TypeMethodDescriptiongetDir()protected byte[]protected static ShareResourceDirImplgetResource(ShareManagerImpl _manager, File _file) Methods inherited from class ShareResourceFileOrDirImpl
canBeDeleted, checkConsistency, createTorrent, deleteInternal, deserialiseResource, getFile, getItem, getName, getProperties, getResourceSupport, serialiseResource, setPropertiesMethods inherited from class ShareResourceImpl
addChangeListener, addDeletionListener, delete, delete, delete, deleteTorrent, fireChangeEvent, getAttribute, getAttributes, getChildren, getFingerPrint, getFingerPrintSupport, getNewTorrentLocation, getParent, getTorrentFile, getType, inheritAttributes, isDeleted, isPersistent, readTorrent, removeChangeListener, removeDeletionListener, setAttribute, setParent, writeTorrentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ShareResource
addChangeListener, addDeletionListener, canBeDeleted, delete, delete, getAttribute, getAttributes, getName, getParent, getProperties, getType, isDeleted, isPersistent, removeChangeListener, removeDeletionListener, setAttribute, setPropertiesMethods inherited from interface ShareResourceDir
getItem
-
Constructor Details
-
Method Details
-
getFingerPrint
- Specified by:
getFingerPrintin classShareResourceFileOrDirImpl- Throws:
ShareException
-
getDir
- Specified by:
getDirin interfaceShareResourceDir