/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). The elements of * the iterator must be strings. */ public InputStream openStream(Iterator mimeTypes) throws IOException { return data.openStream(userAgent, mimeTypes); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. */ public InputStream openStream() throws IOException { return data.openStream(userAgent, null); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). The elements of * the iterator must be strings. */ public InputStream openStream(Iterator mimeTypes) throws IOException { return data.openStream(userAgent, mimeTypes); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. */ public InputStream openStream() throws IOException { return data.openStream(userAgent, null); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). The elements of * the iterator must be strings. */ public InputStream openStream(Iterator mimeTypes) throws IOException { return data.openStream(userAgent, mimeTypes); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. */ public InputStream openStream() throws IOException { return data.openStream(userAgent, null); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeType The expected mime type of the content * in the returned InputStream (mapped to Http accept * header among other possibilities). */ public InputStream openStream(String mimeType) throws IOException { List mt = new ArrayList(1); mt.add(mimeType); return data.openStream(userAgent, mt.iterator()); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). */ public InputStream openStream(String [] mimeTypes) throws IOException { List mt = new ArrayList(mimeTypes.length); for (String mimeType : mimeTypes) mt.add(mimeType); return data.openStream(userAgent, mt.iterator()); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeType The expected mime type of the content * in the returned InputStream (mapped to Http accept * header among other possibilities). */ public InputStream openStream(String mimeType) throws IOException { List mt = new ArrayList(1); mt.add(mimeType); return data.openStream(userAgent, mt.iterator()); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeType The expected mime type of the content * in the returned InputStream (mapped to Http accept * header among other possibilities). */ public InputStream openStream(String mimeType) throws IOException { List mt = new ArrayList(1); mt.add(mimeType); return data.openStream(userAgent, mt.iterator()); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). */ public InputStream openStream(String [] mimeTypes) throws IOException { List mt = new ArrayList(mimeTypes.length); for (String mimeType : mimeTypes) mt.add(mimeType); return data.openStream(userAgent, mt.iterator()); }
/** * Attempt to open the stream checking for common compression * types, and automatically decompressing them if found. * @param mimeTypes The expected mime types of the content * in the returned InputStream (mapped to Http accept * header among other possabilities). */ public InputStream openStream(String [] mimeTypes) throws IOException { List mt = new ArrayList(mimeTypes.length); for (int i=0; i<mimeTypes.length; i++) mt.add(mimeTypes[i]); return data.openStream(userAgent, mt.iterator()); }