com.googlecode.jpattern.core.textfiles
Class NullResource
java.lang.Object
com.googlecode.jpattern.core.textfiles.NullResource
- All Implemented Interfaces:
- IResource, java.io.Serializable
public class NullResource
- extends java.lang.Object
- implements IResource
- Author:
- Francesco Cina'
10/mag/2010
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullResource
public NullResource()
delete
public boolean delete(java.lang.String filename)
- Specified by:
delete in interface IResource
getFile
public IFile getFile(java.lang.String filename)
- Specified by:
getFile in interface IResource
getFilenames
public java.util.List<java.lang.String> getFilenames()
- Specified by:
getFilenames in interface IResource
create
public IFile create(java.lang.String filename,
java.lang.String text)
- Specified by:
create in interface IResource
isValid
public boolean isValid()
- Specified by:
isValid in interface IResource
create
public IFile create(java.lang.String filename,
java.lang.String text,
CharacterEncoding encodingCharset)
throws java.lang.Exception
- Specified by:
create in interface IResource
- Throws:
java.lang.Exception
getFile
public IFile getFile(java.lang.String filename,
CharacterEncoding encodingCharset)
- Specified by:
getFile in interface IResource
getName
public java.lang.String getName()
- Specified by:
getName in interface IResource
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface IResource
rename
public boolean rename(java.lang.String filename,
java.lang.String newFilename)
- Specified by:
rename in interface IResource
Copyright © 2011. All Rights Reserved.