/*
* BasicIO.java 1.0 Michael Zanussi
*
* Copyright (C) 2004 Michael Zanussi
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purposes and without
* fee is hereby granted provided that this copyright notice
* appears in all copies.
*/
package com.michaelzanussi.bayesian;
import java.io.File;
/**
* Generic I/O interface for such classes as TextFileReader,
* TextFileWriter, etc.
*
* @author <a href="mailto:admin@michaelzanussi.com">Michael Zanussi</a>
* @version 1.0 (20 Feb 2004)
*/
public interface BasicIO {
/**
* Open specified file.
*
* @param file file to open.
* @return <code>true</code> if successful.
*/
public boolean open( File file );
/**
* Close file.
*
* @return <code>true</code> if successful.
*/
public boolean close();
}
|