org.jSyncManager.API.Protocol.Util.VFS

Class DirectoryEntryEnumeration


public class DirectoryEntryEnumeration
extends java.lang.Object

A representation of a list of directory entries from a VFS volume.

Constructor Summary

DirectoryEntryEnumeration(byte[] data)
Constructs a new directory entry enumerator.

Method Summary

DirectoryEntry
getEntry(int index)
Retrieves the directory entry at the specified index.
int
getIterator()
Retrieves the enumerator for this object.
int
getNumEntries()
Retrieves the number of entries retrieved.

Constructor Details

DirectoryEntryEnumeration

public DirectoryEntryEnumeration(byte[] data)
Constructs a new directory entry enumerator.
Parameters:
data - the argument data from the VFS Directory Entry DLP function.

Method Details

getEntry

public DirectoryEntry getEntry(int index)
Retrieves the directory entry at the specified index.
Parameters:
index - the index to retrieve from.
Returns:
the directory entry at the specified index.

getIterator

public int getIterator()
Retrieves the enumerator for this object.
Returns:
the enumerator for this object.

getNumEntries

public int getNumEntries()
Retrieves the number of entries retrieved.
Returns:
the number of entries retrieved.