Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase.io
Interface Resource


public interface Resource

Describes a single resource consist of a name and a content.

A resource is a byte array which is interpreted by the analysation classes. A resource may be a loaded file or a completly received stream.

Author:
Martin Kersten

Method Summary
 byte[] getContent()
          Returns the content of the resource.
 java.lang.String getName()
          Returns the name of the resource.
 

Method Detail

getContent

public byte[] getContent()
Returns the content of the resource.

Returns:
The content of the resource

getName

public java.lang.String getName()
Returns the name of the resource. Mostly used to print meaningfull error messages and provide hints to the user.

Returns:
The name of the resource.