prompto.value.IResource Maven / Gradle / Ivy
package prompto.value;
import java.io.IOException;
import java.util.function.Consumer;
import prompto.intrinsic.PromptoBinary;
public interface IResource {
boolean isReadable();
boolean isWritable();
String readLine() throws IOException;
void writeLine(String data) throws IOException;
PromptoBinary readBlob() throws IOException;
String readFully() throws IOException;
void writeFully(String data) throws IOException;
void writeFully(String text, Consumer thenWith) throws IOException;
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy