* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.io;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
-
-
/**
* Resource implemention for reading from a file.
*/
/**
* Constructs the resource.
- * @param aFile File to read.
+ *
+ * @param aFile
+ * File to read.
*/
- public FileResource( File aFile ) {
+ public FileResource(File aFile) {
_file = aFile;
}
- /** (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.wamblee.io.InputResource#getInputStream()
*/
- public InputStream getInputStream( ) throws IOException {
- return new BufferedInputStream( new FileInputStream( _file ) );
+ public InputStream getInputStream() throws IOException {
+ return new BufferedInputStream(new FileInputStream(_file));
}
}