Turtle programming game that was never finished to a playable state (but had cute graphics and sounds)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tortuga/src/net/tortuga/util/loading/DirectoryLoader.java

30 lines
484 B

package net.tortuga.util.loading;
import java.io.InputStream;
/**
* Directory access interface
*
* @author Ondřej Hruška (MightyPork)
*/
public interface DirectoryLoader {
/**
* Get if file exists in this directory
*
* @param filename file name
* @return exists
*/
public boolean fileExists(String filename);
/**
* Open file as InputStream
*
* @param filename file name
* @return input stream
*/
public InputStream openFile(String filename);
}