org.jSyncManager.API.Protocol.Util.VFS

Class DirectoryEntry


public class DirectoryEntry
extends java.lang.Object

A representation of a single directory entry from a VFS volume.

Constructor Summary

DirectoryEntry(byte[] buffer, int index)
Constructs a new Directory Entry object.

Method Summary

int
getAttributes()
Retrieves the files attributes.
String
getFilename()
Retrieves the files name.

Constructor Details

DirectoryEntry

public DirectoryEntry(byte[] buffer,
                      int index)
Constructs a new Directory Entry object.
Parameters:
buffer - the buffer to retrieve the data from.
index - the index to start reading the information from.

Method Details

getAttributes

public int getAttributes()
Retrieves the files attributes.
Returns:
the files attributes.

getFilename

public String getFilename()
Retrieves the files name.
Returns:
the files name.