com.izforge.izpack.compiler
Class Compiler.PackSource

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

class Compiler.PackSource
extends java.lang.Object

Represents a pack data source.

Author:
julien created October 26, 2002

Field Summary
 java.util.List osConstraints
          The target operating systems of this file
 int override
          Shall we override the file ?
static int OVERRIDE_ASK_FALSE
           
static int OVERRIDE_ASK_TRUE
           
static int OVERRIDE_FALSE
           
static int OVERRIDE_TRUE
           
static int OVERRIDE_UPDATE
           
 java.lang.String src
          The source.
private  java.lang.String targetdir
          The target directory.
private  java.lang.String targetfile
          The target file.
 
Constructor Summary
(package private) Compiler.PackSource()
           
 
Method Summary
 java.lang.String getTargetDir()
           
 java.lang.String getTargetFile()
           
 java.lang.String getTargetFilename()
           
 void setTargetDir(java.lang.String targetDir)
           
 void setTargetFile(java.lang.String targetFile)
           
 
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.


OVERRIDE_TRUE

public static final int OVERRIDE_TRUE
See Also:
Constant Field Values

OVERRIDE_FALSE

public static final int OVERRIDE_FALSE
See Also:
Constant Field Values

OVERRIDE_ASK_TRUE

public static final int OVERRIDE_ASK_TRUE
See Also:
Constant Field Values

OVERRIDE_ASK_FALSE

public static final int OVERRIDE_ASK_FALSE
See Also:
Constant Field Values

OVERRIDE_UPDATE

public static final int OVERRIDE_UPDATE
See Also:
Constant Field Values

override

public int override
Shall we override the file ?


osConstraints

public java.util.List osConstraints
The target operating systems of this file


targetdir

private java.lang.String targetdir
The target directory.


targetfile

private java.lang.String targetfile
The target file.

Constructor Detail

Compiler.PackSource

Compiler.PackSource()
Method Detail

getTargetFilename

public java.lang.String getTargetFilename()

setTargetFile

public void setTargetFile(java.lang.String targetFile)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getTargetFile

public java.lang.String getTargetFile()

setTargetDir

public void setTargetDir(java.lang.String targetDir)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getTargetDir

public java.lang.String getTargetDir()