KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > nutch > fs > NFSOutputStream


1 /* Copyright (c) 2004 The Nutch Organization. All rights reserved. */
2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */
3 package net.nutch.fs;
4
5 import java.io.*;
6
7 /****************************************************************
8  * NFSOutputStream is an OutputStream that can track its position.
9  *
10  * @author Mike Cafarella
11  *****************************************************************/

12 public abstract class NFSOutputStream extends OutputStream {
13     /**
14      * Return the current offset from the start of the file
15      */

16     public abstract long getPos() throws IOException;
17 }
18
Popular Tags