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
IfsException
public 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 CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface ParseStreamContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface ParseStreamContext
IfsException
public Parser getParser() throws IfsException
getParser
in interface ParseStreamContext
IfsException
public void setParser(Parser parser) throws IfsException
setParser
in interface ParseStreamContext
IfsException
public InputStream getContentStream() throws IfsException
getContentStream
in interface ParseStreamContext
IfsException
public void setContentStream(InputStream stream) throws IfsException
setContentStream
in interface ParseStreamContext
IfsException
public String getName() throws IfsException
getName
in interface ParseStreamContext
IfsException
public void setName(String name) throws IfsException
setName
in interface ParseStreamContext
IfsException
public String getFolderPath() throws IfsException
getFolderPath
in interface ParseStreamContext
IfsException
public void setFolderPath(String folderPath) throws IfsException
setFolderPath
in interface ParseStreamContext
IfsException
public ParserCallback getParserCallback() throws IfsException
getParserCallback
in interface ParseStreamContext
IfsException
public void setParserCallback(ParserCallback callback) throws IfsException
setParserCallback
in interface ParseStreamContext
IfsException
public AccessControlList getAcl() throws IfsException
getAcl
in interface ParseStreamContext
IfsException
public void setAcl(AccessControlList acl) throws IfsException
setAcl
in interface ParseStreamContext
IfsException
public String getLanguage() throws IfsException
getLanguage
in interface ParseStreamContext
IfsException
public void setLanguage(String language) throws IfsException
setLanguage
in interface ParseStreamContext
IfsException
public String getCharacterSet() throws IfsException
getCharacterSet
in interface ParseStreamContext
IfsException
public void setCharacterSet(String charSet) throws IfsException
setCharacterSet
in interface ParseStreamContext
IfsException
public LibraryObject getLibraryObject() throws IfsException
getLibraryObject
in interface ParseStreamContext
IfsException
public void setLibraryObject(LibraryObject lo) throws IfsException
setLibraryObject
in interface ParseStreamContext
IfsException
Copyright © 2023. All rights reserved.