Interface ResourceStorage
public interface ResourceStorage
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInputStreamToStore(InputStream inputStream, Formats.ProvFormat format, String id) voidcopyStringToStore(CharSequence str, Formats.ProvFormat format, String id) booleannewStore(Formats.ProvFormat format) readDocument(String id) readDocument(String id, boolean known) readDocument(String id, boolean known, DateTimeOption dateTimeOption, TimeZone timeZone) voidwriteDocument(String id, Document doc, Formats.ProvFormat format)
-
Method Details
-
newStore
- Throws:
IOException
-
copyInputStreamToStore
void copyInputStreamToStore(InputStream inputStream, Formats.ProvFormat format, String id) throws IOException - Throws:
IOException
-
copyStringToStore
- Throws:
IOException
-
readDocument
- Throws:
IOException
-
readDocument
Document readDocument(String id, boolean known, DateTimeOption dateTimeOption, TimeZone timeZone) throws IOException - Throws:
IOException
-
readDocument
- Throws:
IOException
-
writeDocument
-
delete
-