Class DirectoryResource
java.lang.Object
aQute.bnd.osgi.WriteResource
aQute.bnd.osgi.DirectoryResource
- All Implemented Interfaces:
Resource, Closeable, AutoCloseable
Resource for a directory. This class implementation assumes the file does not
change underneath this object.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class WriteResource
buffer, close, getExtra, openInputStream, setExtra, size
-
Constructor Details
-
DirectoryResource
- Throws:
IOException
-
DirectoryResource
- Throws:
IOException
-
-
Method Details
-
toString
-
write
- Specified by:
writein interfaceResource- Specified by:
writein classWriteResource- Throws:
Exception
-
lastModified
public long lastModified()- Specified by:
lastModifiedin interfaceResource- Specified by:
lastModifiedin classWriteResource
-