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 com.biglybt.pifimpl.local.sharing.ShareResourceImpl
attributes, change_listeners, deletion_listeners, hasher, manager, parent, type
Fields inherited from interface com.biglybt.pif.sharing.ShareResource
ST_DIR, ST_DIR_CONTENTS, ST_FILE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ShareResourceDirImpl
(ShareManagerImpl _manager, ShareResourceDirContentsImpl _parent, File _file, boolean _personal, Map<String, String> _properties) protected
ShareResourceDirImpl
(ShareManagerImpl _manager, File _file, Map _map) -
Method Summary
Modifier and TypeMethodDescriptiongetDir()
protected byte[]
protected static ShareResourceDirImpl
getResource
(ShareManagerImpl _manager, File _file) Methods inherited from class com.biglybt.pifimpl.local.sharing.ShareResourceFileOrDirImpl
canBeDeleted, checkConsistency, createTorrent, deleteInternal, deserialiseResource, getFile, getItem, getName, getProperties, getResourceSupport, serialiseResource, setProperties
Methods inherited from class com.biglybt.pifimpl.local.sharing.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, writeTorrent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.sharing.ShareResource
addChangeListener, addDeletionListener, canBeDeleted, delete, delete, getAttribute, getAttributes, getName, getParent, getProperties, getType, isDeleted, isPersistent, removeChangeListener, removeDeletionListener, setAttribute, setProperties
Methods inherited from interface com.biglybt.pif.sharing.ShareResourceDir
getItem
-
Constructor Details
-
Method Details
-
getFingerPrint
- Specified by:
getFingerPrint
in classShareResourceFileOrDirImpl
- Throws:
ShareException
-
getDir
- Specified by:
getDir
in interfaceShareResourceDir