All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.core.textfiles.IResource Maven / Gradle / Ivy

There is a newer version: 3.6.2
Show newest version
package com.jpattern.core.textfiles;

import java.io.Serializable;
import java.util.List;

import com.jpattern.core.util.CharacterEncoding;

/**
 * 
 * @author Francesco Cina'
 *
 * 10/mag/2010
 */
public interface IResource extends Serializable {
	
	List getFilenames();
	
	IFile getFile(String filename);
	
	IFile getFile(String filename, CharacterEncoding encodingCharset);
	
	IFile create(String filename, String text) throws Exception;
	
	IFile create(String filename, String text, CharacterEncoding encodingCharset) throws Exception;
	
	String getPath();
	
	String getName();
	
	boolean delete(String filename);
	
	boolean rename(String filename, String newFilename);
	
	boolean isValid();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy