com.fernsroth.squashfs.model
Class BaseFile

java.lang.Object
  extended by com.fernsroth.squashfs.model.BaseFile
Direct Known Subclasses:
Directory, SFSFile, SymLink

public abstract class BaseFile
extends java.lang.Object

base class for files.

Author:
Joseph M. Ferner (Near Infinity Corporation)

Constructor Summary
BaseFile(java.lang.String name, int mode, long mTime, long guid, long uid)
          constructor.
 
Method Summary
 long getGuid()
           
 int getMode()
           
 long getMTime()
           
 java.lang.String getName()
           
 long getUid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFile

public BaseFile(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

getGuid

public long getGuid()
Returns:
the guid

getMTime

public long getMTime()
Returns:
the mTime

getUid

public long getUid()
Returns:
the uid

getMode

public int getMode()
Returns:
the mode

getName

public java.lang.String getName()
Returns:
the name


Copyright © 2006 null. All Rights Reserved.