com.googlecode.jpattern.core.textfiles
Class NullResource
java.lang.Object
com.googlecode.jpattern.core.textfiles.NullResource
- All Implemented Interfaces:
- IResource, Serializable
public class NullResource
- extends 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(String filename)
- Specified by:
delete in interface IResource
getFile
public IFile getFile(String filename)
- Specified by:
getFile in interface IResource
getFilenames
public List<String> getFilenames()
- Specified by:
getFilenames in interface IResource
create
public IFile create(String filename,
String text)
- Specified by:
create in interface IResource
isValid
public boolean isValid()
- Specified by:
isValid in interface IResource
create
public IFile create(String filename,
String text,
CharacterEncoding encodingCharset)
throws Exception
- Specified by:
create in interface IResource
- Throws:
Exception
getFile
public IFile getFile(String filename,
CharacterEncoding encodingCharset)
- Specified by:
getFile in interface IResource
getName
public String getName()
- Specified by:
getName in interface IResource
getPath
public String getPath()
- Specified by:
getPath in interface IResource
rename
public boolean rename(String filename,
String newFilename)
- Specified by:
rename in interface IResource
Copyright © 2011. All Rights Reserved.