public class IfsParseStreamContext extends IfsCommandContext implements ParseStreamContext
| Constructor and Description |
|---|
IfsParseStreamContext()
Deafult Constructor.
|
IfsParseStreamContext(LibrarySession session,
Parser parser,
InputStream stream,
String name,
String folderPath,
ParserCallback callback,
AccessControlList acl,
String language,
String charSet)
Constructor which sets up all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the Context.
|
AccessControlList |
getAcl()
Gets the ACL.
|
String |
getCharacterSet()
Gets the character set.
|
InputStream |
getContentStream()
Gets the content stream.
|
String |
getFolderPath()
Gets the parent folder path.
|
String |
getLanguage()
Gets the language.
|
LibraryObject |
getLibraryObject()
Gets the returning LibraryObject.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
String |
getName()
Gets the document name.
|
Parser |
getParser()
Gets the parser to be used to parse the content.
|
ParserCallback |
getParserCallback()
Gets the parser callback.
|
void |
setAcl(AccessControlList acl)
Sets the ACL.
|
void |
setCharacterSet(String charSet)
Sets the character set.
|
void |
setContentStream(InputStream stream)
Sets the content stream.
|
void |
setFolderPath(String folderPath)
Sets the parent folder path.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setLibraryObject(LibraryObject lo)
Sets the returning LibraryObject.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setName(String name)
Sets the document name.
|
void |
setParser(Parser parser)
Sets the parser to be used to parse the content.
|
void |
setParserCallback(ParserCallback callback)
Sets the parser callback.
|
public IfsParseStreamContext()
throws IfsException
IfsExceptionpublic IfsParseStreamContext(LibrarySession session, Parser parser, InputStream stream, String name, String folderPath, ParserCallback callback, AccessControlList acl, String language, String charSet) throws IfsException
session - LibrarySession.stream - Content stream.name - Name.folderPath - Parent folder path.callback - Parser callback.acl - ACL.language - Langauge.charSet - Character set.parser - Parser to be used to parse the content.IfsException - - If operation fails.public void clear()
clear in interface CommandContextclear in class IfsCommandContextpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface ParseStreamContextIfsExceptionpublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface ParseStreamContextIfsExceptionpublic Parser getParser() throws IfsException
getParser in interface ParseStreamContextIfsExceptionpublic void setParser(Parser parser) throws IfsException
setParser in interface ParseStreamContextIfsExceptionpublic InputStream getContentStream() throws IfsException
getContentStream in interface ParseStreamContextIfsExceptionpublic void setContentStream(InputStream stream) throws IfsException
setContentStream in interface ParseStreamContextIfsExceptionpublic String getName() throws IfsException
getName in interface ParseStreamContextIfsExceptionpublic void setName(String name) throws IfsException
setName in interface ParseStreamContextIfsExceptionpublic String getFolderPath() throws IfsException
getFolderPath in interface ParseStreamContextIfsExceptionpublic void setFolderPath(String folderPath) throws IfsException
setFolderPath in interface ParseStreamContextIfsExceptionpublic ParserCallback getParserCallback() throws IfsException
getParserCallback in interface ParseStreamContextIfsExceptionpublic void setParserCallback(ParserCallback callback) throws IfsException
setParserCallback in interface ParseStreamContextIfsExceptionpublic AccessControlList getAcl() throws IfsException
getAcl in interface ParseStreamContextIfsExceptionpublic void setAcl(AccessControlList acl) throws IfsException
setAcl in interface ParseStreamContextIfsExceptionpublic String getLanguage() throws IfsException
getLanguage in interface ParseStreamContextIfsExceptionpublic void setLanguage(String language) throws IfsException
setLanguage in interface ParseStreamContextIfsExceptionpublic String getCharacterSet() throws IfsException
getCharacterSet in interface ParseStreamContextIfsExceptionpublic void setCharacterSet(String charSet) throws IfsException
setCharacterSet in interface ParseStreamContextIfsExceptionpublic LibraryObject getLibraryObject() throws IfsException
getLibraryObject in interface ParseStreamContextIfsExceptionpublic void setLibraryObject(LibraryObject lo) throws IfsException
setLibraryObject in interface ParseStreamContextIfsExceptionCopyright © 2025. All rights reserved.