# Uses of Class
com.logicaldoc.core.store.StoreResource

Packages that use StoreResource
Package
Description
com.logicaldoc.core.store
The store sub-system responsible for persisting the binaries of the documents.

## Uses of StoreResource in com.logicaldoc.core.store

Methods in com.logicaldoc.core.store that return StoreResource
Modifier and Type
Method
Description
`StoreResource`
StoreResource.Builder.`build()`
Methods in com.logicaldoc.core.store that return types with arguments of type StoreResource
Modifier and Type
Method
Description
`List<StoreResource>`
FSStore.`listResources(long docId, String fileVersion)`
`List<StoreResource>`
Store.`listResources(long docId, String fileVersion)`
Lists all resources in the document's container
Methods in com.logicaldoc.core.store with parameters of type StoreResource
Modifier and Type
Method
Description
`void`
FSStore.`delete(StoreResource resource)`
`void`
Store.`delete(StoreResource resource)`
Deletes a specific resource of a document from the store.
`boolean`
FSStore.`exists(StoreResource resource)`
`boolean`
Store.`exists(StoreResource resource)`
Checks if the passed resource exists in the document's container
`byte[]`
AbstractStore.`getBytes(StoreResource resource)`
`byte[]`
FSStore.`getBytes(StoreResource resource, long start, long length)`
`byte[]`
Store.`getBytes(StoreResource resource)`
Obtains the document's raw bytes for the specified resource
`byte[]`
Store.`getBytes(StoreResource resource, long start, long length)`
Obtains the document's raw bytes for the specified resource
`InputStream`
FSStore.`getStream(StoreResource resource)`
`InputStream`
MockStore.`getStream(StoreResource resource)`
`InputStream`
Store.`getStream(StoreResource resource)`
Obtains the document's content for the specified resource
`String`
AbstractStore.`getString(StoreResource resource)`
`String`
Store.`getString(StoreResource resource)`
Obtains the resource's content as string for the specified resource
`StoreResource.Builder`
StoreResource.Builder.`resource(StoreResource res)`
`long`
FSStore.`size(StoreResource resource)`
`long`
Store.`size(StoreResource resource)`
Computed the size of a specific resource.
`void`
AbstractStore.`store(File file, StoreResource resource)`
`void`
FSStore.`store(File file, StoreResource resource)`
`void`
FSStore.`store(InputStream stream, StoreResource resource)`
`void`
MockStore.`store(File file, StoreResource resource)`
`void`
MockStore.`store(InputStream stream, StoreResource resource)`
`void`
Store.`store(File file, StoreResource resource)`
Stores a file
`void`
Store.`store(InputStream stream, StoreResource resource)`
This method has to store a resource in the document's container.
`void`
AbstractStore.`writeToFile(StoreResource resource, File out)`
`void`
FSStore.`writeToFile(StoreResource resource, File out)`
`void`
Store.`writeToFile(StoreResource resource, File out)`
Writes the specified resource in a file
`void`
AbstractStore.`writeToStream(StoreResource resource, OutputStream output)`
`void`
AbstractStore.`writeToStream(StoreResource resource, OutputStream output, long start, long length)`
`void`
Store.`writeToStream(StoreResource resource, OutputStream output)`
Writes the specified resource in an output stream
`void`
Store.`writeToStream(StoreResource resource, OutputStream output, long start, long length)`
Writes the specified resource in an output stream