net.sf.jour.processor
Class FileEntry

java.lang.Object
  extended by net.sf.jour.processor.FileEntry
All Implemented Interfaces:
Entry

public class FileEntry
extends java.lang.Object
implements Entry


Constructor Summary
FileEntry(java.io.File file, java.lang.String baseName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 Entry getOrigin()
           
 long getSize()
           
 long getTime()
           
 boolean isClass()
           
 boolean isDirectory()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEntry

public FileEntry(java.io.File file,
                 java.lang.String baseName)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface Entry
Throws:
java.io.IOException

getOrigin

public Entry getOrigin()
Specified by:
getOrigin in interface Entry

getName

public java.lang.String getName()
Specified by:
getName in interface Entry

getSize

public long getSize()
Specified by:
getSize in interface Entry

getTime

public long getTime()
Specified by:
getTime in interface Entry

isClass

public boolean isClass()
Specified by:
isClass in interface Entry

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface Entry

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.