Package step.resources
Class ResourceRevisionContainer
- java.lang.Object
-
- step.resources.ResourceRevisionContainer
-
public class ResourceRevisionContainer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected OutputStream
outputStream
protected Resource
resource
protected ResourceRevision
resourceRevision
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceRevisionContainer(Resource resource, ResourceRevision resourceRevision, ResourceManagerImpl resourceManagerImpl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getOutputStream()
Resource
getResource()
ResourceRevision
getResourceRevision()
void
save()
void
save(boolean checkForDuplicates, step.core.objectenricher.ObjectEnricher objectEnricher)
void
save(step.core.objectenricher.ObjectEnricher objectEnricher)
-
-
-
Field Detail
-
resource
protected final Resource resource
-
resourceRevision
protected final ResourceRevision resourceRevision
-
outputStream
protected final OutputStream outputStream
-
-
Constructor Detail
-
ResourceRevisionContainer
protected ResourceRevisionContainer(Resource resource, ResourceRevision resourceRevision, ResourceManagerImpl resourceManagerImpl) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream()
-
getResource
public Resource getResource()
-
getResourceRevision
public ResourceRevision getResourceRevision()
-
save
public void save(boolean checkForDuplicates, step.core.objectenricher.ObjectEnricher objectEnricher) throws IOException, SimilarResourceExistingException, InvalidResourceFormatException
-
save
public void save(step.core.objectenricher.ObjectEnricher objectEnricher) throws IOException, InvalidResourceFormatException
-
save
public void save() throws IOException, InvalidResourceFormatException
-
-