KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > io > FileDescriptor

java.io
Class FileDescriptor

java.lang.Object
  extended by java.io.FileDescriptor
See Also:
Top Examples, Source Code, FileInputStream, FileOutputStream

public static final FileDescriptor err
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[892]Reset System.out, System.err and System.in
By Anonymous on 2004/09/11 10:42:37  Rate
//Reset System.out, System.err and System.in to restore them to their  
 //original function. 
  
  
 System.setOut ( new PrintStream ( new FileOutputStream ( FileDescriptor.out )  )  ) ; 
 System.setErr ( new PrintStream ( new FileOutputStream ( FileDescriptor.err )  )  ) ; 
 System.setIn ( new FileInputStream ( FileDescriptor.in )  ) ;


public FileDescriptor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final FileDescriptor in
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final FileDescriptor out
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void sync()
          throws SyncFailedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean valid()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags