com.googlecode.jpattern.core.textfiles
Class NullFile

java.lang.Object
  extended by com.googlecode.jpattern.core.textfiles.NullFile
All Implemented Interfaces:
IFile, Serializable

public class NullFile
extends Object
implements IFile

Author:
Francesco Cina' 09/giu/2010
See Also:
Serialized Form

Constructor Summary
NullFile()
           
 
Method Summary
 boolean exists()
           
 IFileReader getFileReader()
           
 IFileWriter getFileWriter(boolean append)
           
 String getName()
           
 String getPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullFile

public NullFile()
Method Detail

getPath

public String getPath()
Specified by:
getPath in interface IFile

getName

public String getName()
Specified by:
getName in interface IFile

exists

public boolean exists()
Specified by:
exists in interface IFile

getFileReader

public IFileReader getFileReader()
Specified by:
getFileReader in interface IFile

getFileWriter

public IFileWriter getFileWriter(boolean append)
Specified by:
getFileWriter in interface IFile


Copyright © 2011. All Rights Reserved.