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 TypeClassDescriptionclassUnable to access as content is in an Archived state.classThis 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 TypeMethodDescriptionvoidContentStreamListener.contentStreamClosed()Called when the stream associated with a reader or writer is closedvoidContentReader.getContent(File file) Gets content from the repository direct to filevoidContentReader.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.voidContentWriter.putContent(File file) Puts content to the repository direct from filevoidContentWriter.putContent(InputStream is) Puts content to the repositoryvoidContentWriter.putContent(String content) Puts content to the repository direct fromString.voidContentWriter.putContent(ContentReader reader) Copies content from the reader.