Package | Description |
---|---|
org.alfresco.service.cmr.repository |
Modifier and Type | Class and Description |
---|---|
class |
ContentServiceTransientException
This exception should be thrown when a content operation could not be performed due to
a transient condition and where it is possible that a subsequent request to execute the
same action might succeed, all other things not having changed.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentStreamListener.contentStreamClosed()
Called when the stream associated with a reader or writer is closed
|
void |
ContentReader.getContent(File file)
Gets content from the repository direct to file
|
void |
ContentReader.getContent(OutputStream os)
Gets content from the repository.
|
InputStream |
ContentReader.getContentInputStream()
Get a stream to read from the underlying channel
|
OutputStream |
ContentWriter.getContentOutputStream()
Get a stream to write to the underlying channel.
|
String |
ContentReader.getContentString()
Gets content from the repository direct to
String . |
String |
ContentReader.getContentString(int length)
Gets content from the repository direct to
String , but limiting
the string size to a given number of characters. |
FileChannel |
ContentReader.getFileChannel()
Provides read-only, random-access to the underlying content.
|
FileChannel |
ContentWriter.getFileChannel(boolean truncate)
Provides read-write, random-access to the underlying content.
|
ReadableByteChannel |
ContentReader.getReadableChannel()
Provides low-level access to the underlying content.
|
ContentReader |
ContentReader.getReader()
Convenience method to get another reader onto the underlying content.
|
ContentReader |
ContentWriter.getReader()
Convenience method to get a reader onto newly written content.
|
WritableByteChannel |
ContentWriter.getWritableChannel()
Provides low-level access to write to repository content.
|
void |
ContentWriter.putContent(ContentReader reader)
Copies content from the reader.
|
void |
ContentWriter.putContent(File file)
Puts content to the repository direct from file
|
void |
ContentWriter.putContent(InputStream is)
Puts content to the repository
|
void |
ContentWriter.putContent(String content)
Puts content to the repository direct from
String . |
Copyright © 2005–2018 Alfresco Software. All rights reserved.