Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public interface BLOBStore {
* {@link #createId(PropertyId, int)}
* @param in stream containing the BLOB data
* @param size size of the BLOB data
* @throws Exception if an error occured
* @throws Exception if an error occurred
*/
void put(String blobId, InputStream in, long size) throws Exception;

Expand All @@ -58,7 +58,7 @@ public interface BLOBStore {
* @param blobId identifier of the BLOB data as returned by
* {@link #createId(PropertyId, int)}
* @return an input stream that delivers the BLOB data
* @throws Exception if an error occured
* @throws Exception if an error occurred
*/
InputStream get(String blobId) throws Exception;

Expand All @@ -70,7 +70,7 @@ public interface BLOBStore {
* @return <code>true</code> if BLOB data with the given id exists and has
* been successfully removed, <code>false</code> if there's no BLOB
* data with the given id.
* @throws Exception if an error occured
* @throws Exception if an error occurred
*/
boolean remove(String blobId) throws Exception;
}
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public static Value[] copy(Value[] srcValues, ValueFactory factory)
* as <code>"_x0020_"</code> within he output string.
* @return a string representation of the given value.
* @throws IllegalStateException if the given value is in an illegal state
* @throws RepositoryException if an error occured during the serialization.
* @throws RepositoryException if an error occurred during the serialization.
*/
public static String serialize(Value value, boolean encodeBlanks)
throws IllegalStateException, RepositoryException {
Expand All @@ -722,9 +722,9 @@ public static String serialize(Value value, boolean encodeBlanks)
* @param enforceBase64 if <code>true</code>, base64 encoding will always be used
* @param writer writer to output the encoded data
* @throws IllegalStateException if the given value is in an illegal state
* @throws IOException if an i/o error occured during the
* @throws IOException if an i/o error occurred during the
* serialization
* @throws RepositoryException if an error occured during the serialization.
* @throws RepositoryException if an error occurred during the serialization.
*/
public static void serialize(Value value, boolean encodeBlanks, boolean enforceBase64,
Writer writer)
Expand Down