com.novell.admin.ns.fs.nw
Class ExtendedAttributeFacade
java.lang.Object
|
+--com.novell.admin.ns.ValueListFacade
|
+--com.novell.admin.ns.fs.nw.ExtendedAttributeFacade
- public class ExtendedAttributeFacade
- extends ValueListFacade
Facade for File System Extended Attribute syntax.
|
Method Summary |
static ValueList |
createValueList(java.lang.String name,
byte[] data)
File System Extended Attribute ValueList factory. |
byte[] |
getData()
Retrieve the used directories from the valuelist. |
java.lang.String |
getName()
Retrieve the name from the valuelist. |
void |
setData(byte[] data,
int index)
Set the data in the valuelist. |
void |
setName(java.lang.String name)
Set the name in the valuelist. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ExtendedAttributeFacade
public ExtendedAttributeFacade(ValueList comp)
throws IncompatibleComponentException
- Facade constructor
- Parameters:
valueList - The ValueList which represents the Extended Attribute
data.- Throws:
- IncompatibleComponentException - if the 'valueList' syntax is
not NWFSSyntax.SYN_EXTENDED_ATTRIBUTE.
createValueList
public static ValueList createValueList(java.lang.String name,
byte[] data)
- File System Extended Attribute ValueList factory.
- Parameters:
name - Refer to Extended Attribute Specification.usedDirectories - Refer to Extended Attribute Specification.usedFiles - Refer to Extended Attribute Specification.usedBlocks - Refer to Extended Attribute Specification.- Returns:
- A new Extended Attribute ValueList.
getName
public java.lang.String getName()
- Retrieve the name from the valuelist.
- Returns:
- The Extended Attribute name.
setName
public void setName(java.lang.String name)
- Set the name in the valuelist.
- Parameters:
name - The Volume name.
getData
public byte[] getData()
- Retrieve the used directories from the valuelist.
- Returns:
- The the Extended Attribute data.
setData
public void setData(byte[] data,
int index)
- Set the data in the valuelist.
- Parameters:
data - The Extended Attribute data.index - The index into the data.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.