Package step.resources
Class ResourceRevisionContentImpl
- java.lang.Object
-
- step.resources.ResourceRevisionContentImpl
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ResourceRevisionContent
public class ResourceRevisionContentImpl extends Object implements Closeable, ResourceRevisionContent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceRevisionContentImpl(ResourceManagerImpl resourceManager, Resource resource, InputStream resourceStream, String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getResourceName()
InputStream
getResourceStream()
-
-
-
Constructor Detail
-
ResourceRevisionContentImpl
protected ResourceRevisionContentImpl(ResourceManagerImpl resourceManager, Resource resource, InputStream resourceStream, String resourceName)
-
-
Method Detail
-
getResourceStream
public InputStream getResourceStream()
- Specified by:
getResourceStream
in interfaceResourceRevisionContent
-
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interfaceResourceRevisionContent
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceResourceRevisionContent
- Throws:
IOException
-
-