Class DefaultFileResourceWrapper
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.core.DefaultFileResource
org.jdrupes.builder.core.DefaultFileResourceWrapper
- All Implemented Interfaces:
FileResource, IOResource, Proxyable, Resource
Wrapper for DefaultFileResource allowing public instantiation.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a resource with default file type.protectedDefaultFileResourceWrapper(ResourceType<? extends FileResource> type, Path path) Creates a resource with custom file type. -
Method Summary
Methods inherited from class DefaultFileResource
asOf, equals, hashCode, inputStream, outputStream, pathMethods inherited from interface FileResource
cleanupMethods inherited from interface Resource
asOfLocalized, isNewerThan, name, type
-
Constructor Details
-
DefaultFileResourceWrapper
Creates a resource with default file type. -
DefaultFileResourceWrapper
Creates a resource with custom file type.- Parameters:
type- the resource typepath- the file path
-