com.fernsroth.squashfs.model
Class Directory

java.lang.Object
  extended by com.fernsroth.squashfs.model.BaseFile
      extended by com.fernsroth.squashfs.model.Directory

public class Directory
extends BaseFile

Author:
Joseph M. Ferner (Near Infinity Corporation)

Constructor Summary
Directory(java.lang.String name, int mode, long mTime, long guid, long uid)
          constructor.
 
Method Summary
 void addSubentry(BaseFile subentry)
          adds a subentry.
 java.util.List<BaseFile> getSubentries()
           
 
Methods inherited from class com.fernsroth.squashfs.model.BaseFile
getGuid, getMode, getMTime, getName, getUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Directory

public Directory(java.lang.String name,
                 int mode,
                 long mTime,
                 long guid,
                 long uid)
constructor.

Parameters:
name - the name of the file.
mode - the mode.
mTime - the modify time.
guid - the group id.
uid - the user id.
Method Detail

addSubentry

public void addSubentry(BaseFile subentry)
adds a subentry.

Parameters:
subentry - the subentry to add.

getSubentries

public java.util.List<BaseFile> getSubentries()
Returns:
the subentries


Copyright © 2006 null. All Rights Reserved.