JavaTM Platform
Standard Ed. 6

인터페이스
javax.activation.DataSource 의 사용

DataSource 를 사용하고 있는 패키지
javax.activation   
 

javax.activation 에서의 DataSource 의 사용
 

DataSource 를 구현하고 있는 javax.activation 의 클래스
 class FileDataSource
          FileDataSource 클래스는, 파일을 캡슐화하는 간단한 DataSource 객체를 구현합니다.
 class URLDataSource
          URLDataSource 클래스는,URL 객체를 DataSource 인터페이스로 랩 하는 객체를 제공합니다.
 

DataSource 를 돌려주는 javax.activation 의 메소드
 DataSource DataHandler. getDataSource ()
          이 DataHandler 의 인스턴스에 관련지을 수 있었던 DataSource 를 돌려줍니다.
 

DataSource 형의 파라미터를 가지는 javax.activation 의 메소드
 DataContentHandler CommandMap. createDataContentHandler (String  mimeType, DataSource  ds)
          MIME 타입에 대응하는 DataContentHandler 를 찾아 냅니다.
 CommandInfo [] CommandMap. getAllCommands (String  mimeType, DataSource  ds)
          이 타입의 이용할 수 있는 커멘드를 모두 가져옵니다.
 CommandInfo CommandMap. getCommand (String  mimeType, String  cmdName, DataSource  ds)
          MIME 타입에 대응하는 디폴트의 커멘드를 가져옵니다.
 Object DataContentHandler. getContent (DataSource  ds)
          가장 적합한 형식의 데이터를 나타내는 객체를 돌려줍니다.
 CommandInfo [] CommandMap. getPreferredCommands (String  mimeType, DataSource  ds)
          MIME 타입으로부터 우선 커멘드 리스트를 가져옵니다.
 Object DataContentHandler. getTransferData (DataFlavor  df, DataSource  ds)
          전송 되는 데이터를 나타내는 객체를 돌려줍니다.
 

DataSource 형의 파라미터를 가지는 javax.activation 의 생성자
DataHandler (DataSource  ds)
          지정된 DataSource 를 참조하는 DataHandler 인스턴스를 구축합니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.