public class QueryInfoPacker
extends java.lang.Object
Packs file/directory information for the specified information level.
| Constructor and Description |
|---|
QueryInfoPacker() |
| Modifier and Type | Method and Description |
|---|---|
static int |
packInfo(FileInfo info,
DataBuffer buf,
int infoLevel,
boolean uni)
Pack a file information object into the specified buffer, using the specified information
level.
|
static int |
packStreamFileInfo(StreamInfoList streams,
DataBuffer buf,
boolean uni)
Pack the stream information (level 0x109)
|
public static final int packInfo(FileInfo info, DataBuffer buf, int infoLevel, boolean uni) throws UnsupportedInfoLevelException
info - File information to be packed.buf - Buffer to pack the data into.infoLevel - File information level.uni - Pack Unicode strings if true, else pack ASCII stringsUnsupportedInfoLevelExceptionpublic static int packStreamFileInfo(StreamInfoList streams, DataBuffer buf, boolean uni)
streams - List of streamsbuf - Buffer to pack data intouni - Pack unicode stringsCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.