E D R , A S I H C RSS

BackLinks search for "OutputStream"

BackLinks of OutputStream


Search BackLinks only
Display context of search results
Case-sensitive searching
  • JavaNetworkProgramming
          *OutputStream 클래스 : OutputStream 클래스는 통신 채널로의 관문을 의미한다. 즉, OutputStream으로 데이터를 써넣으면 데이터는 연결된 통신 채널로 전송될 것이다.
          public class SimpleOut { //간단한 OutputStream 예제
          *InputStream 클래스 : InputStream 클래스는 통신 채널로부터 데이터를 읽어 내는 관문을 의미한다. OutputStream에 의해 통신 채널로 쓰여진 데이터는 해당하는 InputStream에 의해 읽혀진다.
          *이장에서는 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 {
          /**@todo: implement this java.io.OutputStream abstract method*/
          *위치 이동(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를 인자로 념겨줌
          /**@todo: implement this java.io.OutputStream abstract method*/
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.0062 sec