Uses of Class
org.alfresco.service.cmr.repository.ContentIOException
Packages that use ContentIOException
-
Uses of ContentIOException in org.alfresco.service.cmr.repository
Subclasses of ContentIOException in org.alfresco.service.cmr.repositoryModifier and TypeClassDescriptionclass
Unable to access as content is in an Archived state.class
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.Methods in org.alfresco.service.cmr.repository that throw ContentIOExceptionModifier and TypeMethodDescriptionvoid
ContentStreamListener.contentStreamClosed()
Called when the stream associated with a reader or writer is closedvoid
ContentReader.getContent
(File file) Gets content from the repository direct to filevoid
ContentReader.getContent
(OutputStream os) Gets content from the repository.ContentReader.getContentInputStream()
Get a stream to read from the underlying channelContentWriter.getContentOutputStream()
Get a stream to write to the underlying channel.ContentReader.getContentString()
Gets content from the repository direct toString
.ContentReader.getContentString
(int length) Gets content from the repository direct toString
, but limiting the string size to a given number of characters.ContentReader.getFileChannel()
Provides read-only, random-access to the underlying content.ContentWriter.getFileChannel
(boolean truncate) Provides read-write, random-access to the underlying content.ContentReader.getReadableChannel()
Provides low-level access to the underlying content.ContentReader.getReader()
Convenience method to get another reader onto the underlying content.ContentWriter.getReader()
Convenience method to get a reader onto newly written content.ContentWriter.getWritableChannel()
Provides low-level access to write to repository content.void
ContentWriter.putContent
(File file) Puts content to the repository direct from filevoid
ContentWriter.putContent
(InputStream is) Puts content to the repositoryvoid
ContentWriter.putContent
(String content) Puts content to the repository direct fromString
.void
ContentWriter.putContent
(ContentReader reader) Copies content from the reader.