|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.selectors.BaseSelector
org.apache.tools.ant.types.selectors.BaseExtendSelector
com.phenix.pct.RCodeSelector
public class RCodeSelector
Selector for rcode
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.selectors.BaseExtendSelector |
|---|
parameters |
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
RCodeSelector()
|
|
| Method Summary | |
|---|---|
static void |
copyFile(InputStream in,
OutputStream out)
|
boolean |
isSelected(File basedir,
String filename,
File file)
Compares two rcodes for CRC or MD5, and returns true if CRC or MD5 are either different or one file is missing (or not rcode). |
void |
setDir(File dir)
|
void |
setLib(File lib)
|
void |
setMode(String mode)
|
void |
verifySettings()
|
| Methods inherited from class org.apache.tools.ant.types.selectors.BaseExtendSelector |
|---|
getParameters, setParameters |
| Methods inherited from class org.apache.tools.ant.types.selectors.BaseSelector |
|---|
getError, setError, validate |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RCodeSelector()
| Method Detail |
|---|
public void setMode(String mode)
public void setDir(File dir)
public void setLib(File lib)
public void verifySettings()
verifySettings in class org.apache.tools.ant.types.selectors.BaseSelector
public boolean isSelected(File basedir,
String filename,
File file)
throws org.apache.tools.ant.BuildException
isSelected in interface org.apache.tools.ant.types.selectors.FileSelectorisSelected in class org.apache.tools.ant.types.selectors.BaseExtendSelectorbasedir - A java.io.File object for the base directoryfilename - The name of the file to checkfile - A File object for this filename
org.apache.tools.ant.BuildException
public static void copyFile(InputStream in,
OutputStream out)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||