コード例 #1
0
ファイル: ResourceAdapter.java プロジェクト: GavinHwa/citrus
  public InputStream getInputStream() throws IOException {
    InputStream istream = resource.getInputStream();

    if (istream == null) {
      throw new IOException(getDescription() + " cannot be resolved as InputStream");
    }

    return istream;
  }