XCMS Toolkit

jtools
Class Resource

java.lang.Object
  extended by jtools.Resource

public class Resource
extends java.lang.Object

Retrieves a user specified resource at some Uniform Resource Locator (URL).

Version:
1.00 - 2006/02/10
Author:
support@phillipgriffin.com

Constructor Summary
Resource(java.lang.String name)
          Constructor for Resource with a resource name parameter.
 
Method Summary
 java.io.InputStream getInputStream()
          Gets a resource if it can be located.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.lang.String name)
Constructor for Resource with a resource name parameter.

Parameters:
name - world wide web resource name
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Gets a resource if it can be located.

Returns:
input from an open input stream or an error if the sought resource can not be located
Throws:
java.io.IOException

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.