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

fitnesse.wiki.fs.FileSystem Maven / Gradle / Ivy

There is a newer version: 20241207
Show newest version
package fitnesse.wiki.fs;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;

public interface FileSystem {
  void makeFile(File file, String content) throws IOException;

  void makeFile(File file, InputStream content) throws IOException;

  void makeDirectory(File path) throws IOException;

  boolean exists(File file);

  String[] list(File path);

  String getContent(File file) throws IOException;

  InputStream getInputStream(File file) throws IOException;

  void delete(File path) throws IOException;

  long lastModified(File file);

  void rename(File file, File originalFile) throws IOException;

  boolean isDirectory(File file);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy