E D R , A S I H C RSS

BackLinks search for "FileOutputStream"

BackLinks of FileOutputStream


Search BackLinks only
Display context of search results
Case-sensitive searching
  • JavaNetworkProgramming
          *이장에서는 FileOutputStream과 FileInputStream에 관해 다루고 있다.
          *FileOutputStream과 FileInputStream은 파일에 대한 바이트 기반의 스트림 엑세스를 제공하는 2개의 표준 클래스이다.
          *FileDescriptor클래스 : FileDescriptor 객체는 하위 레벨의 시스템 파일 설명자로의 핸들이다. 파일 설명자는 열려진 파일을 의미하며, 읽기 작업이나 쓰기 작업을 위한 현재의 파일 내의 위치와 같은 정보들을 포함한다. RandomAccessFile이나 FileOutputStream, FileInputStream을 사용하지 않고는 유용하게 FileDescritor를 생성할수 있는 방법은 없다 . --;
          *FileOutputStream 클래스 : 연속적인 데이터가 파일에 쓰여질수 있도록 해줌
          FileOutputStream out = new FileOutputStream(args[1]); //복사본 파일
          out.close(); //close가 호출되지 않으면 FileOutputStream에 가비지 콜렉션이 일어날 때에 파일과 하부의 FileDescriptor가 자동으로 닫힌다.
          *덮어쓰기(Overwriting)기능을 갖춘 FileOutputStream
          public class SimpleOverwritingFileOutputStream extends OutputStream {
          public SimpleOverwritingFileOutputStream(String filename) throws IOException {
          *위치 이동(Seeking)기능을 갖춘 FileOutputStream
          public class SeekableFileOutputStream extends FileOutputStream {
          public SeekableFileOutputStream(String filename)throws IOException {
          public SeekableFileOutputStream(File file) throws IOException{
          protected SeekableFileOutputStream(RandomAccessFile file) throws IOException{
          super(file.getFD()); //FileOutputStream에다가 FileDescriptor를 인자로 념겨줌
Found 1 matching page out of 7540 total pages

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.0055 sec