Class LogFile

java.lang.Object
  |
  +--LogFile

public class LogFile
extends java.lang.Object

this class is a small and simple representation of a LogFile a LogFile object is merely the LogFile and a string for the owner


Constructor Summary
LogFile(File file)
          another constructor in case the owner is irrelevant
LogFile(java.lang.String owner, File file)
          the constructor takes necessary paramaters
 
Method Summary
 File getFile()
          returns the actual log file
 java.lang.String getName()
          returns the base file name
 java.lang.String getOwner()
          returns the owner string
 java.lang.String getPath()
          returns the path to the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFile

public LogFile(java.lang.String owner,
               File file)
the constructor takes necessary paramaters

LogFile

public LogFile(File file)
another constructor in case the owner is irrelevant
Method Detail

getOwner

public java.lang.String getOwner()
returns the owner string

getFile

public File getFile()
returns the actual log file

getPath

public java.lang.String getPath()
returns the path to the file

getName

public java.lang.String getName()
returns the base file name