com.izforge.izpack.compiler
Class Compiler.Resource

java.lang.Object
  extended bycom.izforge.izpack.compiler.Compiler.Resource
Enclosing class:
Compiler

class Compiler.Resource
extends java.lang.Object

Represents a resource.

Author:
julien created October 26, 2002

Field Summary
 java.lang.String encoding
          The encoding.
 java.lang.String id
          The Id.
 boolean parse
          Shall we parse it ?
 java.lang.String src
          The source.
 java.io.InputStream src_is
          The input stream to read from.
 java.lang.String type
          The type.
 
Constructor Summary
Compiler.Resource(java.lang.String id, java.io.InputStream is)
          The constructor.
Compiler.Resource(java.lang.String id, java.lang.String src)
          The constructor.
Compiler.Resource(java.lang.String id, java.lang.String src, boolean parse, java.lang.String type, java.lang.String encoding)
          The constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

src

public java.lang.String src
The source.


src_is

public java.io.InputStream src_is
The input stream to read from.


id

public java.lang.String id
The Id.


parse

public boolean parse
Shall we parse it ?


type

public java.lang.String type
The type.


encoding

public java.lang.String encoding
The encoding.

Constructor Detail

Compiler.Resource

public Compiler.Resource(java.lang.String id,
                         java.lang.String src)
The constructor.

Parameters:
id - The Id.
src - The source.

Compiler.Resource

public Compiler.Resource(java.lang.String id,
                         java.io.InputStream is)
The constructor.

Parameters:
id - The Id.

Compiler.Resource

public Compiler.Resource(java.lang.String id,
                         java.lang.String src,
                         boolean parse,
                         java.lang.String type,
                         java.lang.String encoding)
The constructor.

Parameters:
id - The Id.
src - The source.
parse - true if it must be parsed.
type - The type.
encoding - The encoding.