public class IfsStringListContext extends IfsCommandContext implements StringListContext
| Constructor and Description |
|---|
IfsStringListContext()
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the CommandState. does not throw.
|
String[][] |
getAttributeNames()
Gets the Attribute names to obtain for the LibraryObject
|
String[] |
getAttributeNames(int index)
Gets the Attribute names to obtain for the LibraryObject
|
boolean |
getDisplayAllAttributes()
Gets wether or not to display all the attributes for the
LibraryObjects passed in.
|
StringBuffer |
getDisplayBuffer()
Gets the display buffer.
|
boolean |
getIsObfuscated()
Gets a boolean flag as to wether the output of the command
should contain id and date strings.
|
LibraryObject[] |
getLibraryObjects()
Gets the LibraryObject
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession
|
boolean |
getNamesOnly()
Gets a boolean falg as to wether the output of the command
should be names only or long form (as in ls -l)
this flag is only checked if the attribute names are null
|
void |
setAttributeNames(String[] attrNames)
Sets the Attribute names to get for all LibraryObjects
|
void |
setAttributeNames(String[][] attrNames)
Sets the Attribute names to get for the LibraryObject
|
void |
setDisplayAllAttributes(boolean displayAll)
Sets wether or not to display all the attributes for the
LibraryObjects passed in.
|
void |
setDisplayBuffer(StringBuffer buffer)
Sets the display buffer.
|
void |
setIsObfuscated(boolean obfuscate)
Sets a boolean flag as to wether the output of the command
should contain id and date strings.
|
void |
setLibraryObjects(LibraryObject[] objs)
Sets the the LibraryObject
|
void |
setLibrarySession(LibrarySession session)
Sets the the LibrarySession
|
void |
setNamesOnly(boolean namesOnly)
Sets a boolean falg as to wether the output of the command
should be names only or long form (as in ls -l)
this flag is only checked if the attribute names are null
|
public IfsStringListContext()
throws IfsException
IfsExceptionpublic void clear()
clear in interface CommandContextclear in class IfsCommandContextpublic LibraryObject[] getLibraryObjects() throws IfsException
getLibraryObjects in interface StringListContextIfsExceptionpublic void setLibraryObjects(LibraryObject[] objs) throws IfsException
setLibraryObjects in interface StringListContextIfsExceptionpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface StringListContextIfsExceptionpublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface StringListContextIfsExceptionpublic String[][] getAttributeNames() throws IfsException
getAttributeNames in interface StringListContextIfsExceptionpublic String[] getAttributeNames(int index) throws IfsException
getAttributeNames in interface StringListContextIfsExceptionpublic void setAttributeNames(String[][] attrNames) throws IfsException
setAttributeNames in interface StringListContextIfsExceptionpublic void setAttributeNames(String[] attrNames) throws IfsException
setAttributeNames in interface StringListContextIfsExceptionpublic boolean getNamesOnly()
throws IfsException
getNamesOnly in interface StringListContextIfsExceptionpublic void setNamesOnly(boolean namesOnly)
throws IfsException
setNamesOnly in interface StringListContextIfsExceptionpublic boolean getDisplayAllAttributes()
throws IfsException
getDisplayAllAttributes in interface StringListContextIfsExceptionpublic void setDisplayAllAttributes(boolean displayAll)
throws IfsException
setDisplayAllAttributes in interface StringListContextIfsExceptionpublic StringBuffer getDisplayBuffer() throws IfsException
getDisplayBuffer in interface StringListContextIfsExceptionpublic void setDisplayBuffer(StringBuffer buffer) throws IfsException
setDisplayBuffer in interface StringListContextIfsExceptionpublic boolean getIsObfuscated()
throws IfsException
getIsObfuscated in interface StringListContextIfsExceptionpublic void setIsObfuscated(boolean obfuscate)
throws IfsException
setIsObfuscated in interface StringListContextIfsExceptionCopyright © 2025. All rights reserved.