| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class | |
| public static class | Length.
EnumeratedAttribute operation mode |
| private abstract class | |
| public static class | Length.
EnumeratedAttribute for the when attribute. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private Long | |
| private static final String | |
| private String | |
| private String | |
| private Resources | |
| private static final String | |
| private String | |
| private Boolean | |
| private Comparison |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | |
| public boolean | Returns: true if the condition is true.Implements org. |
| public void | |
| private static long | |
| public boolean | |
| private void | |
| public synchronized void | |
| public synchronized void | setLength(long
the long length to compare with. ell)Set the target count number for use as a Condition. |
| public synchronized void | |
| public synchronized void | setProperty(String
the property)String property key.The property in which the length will be stored. |
| public synchronized void | setResource(Resource
the Resource whose length to retrieve. resource)Set the single resource for this task. |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | |
| private void |
| ALL | back to summary |
|---|---|
| private static final String ALL | |
| EACH | back to summary |
|---|---|
| private static final String EACH | |
| length | back to summary |
|---|---|
| private Long length | |
| LENGTH_REQUIRED | back to summary |
|---|---|
| private static final String LENGTH_REQUIRED | |
| mode | back to summary |
|---|---|
| private String mode | |
| property | back to summary |
|---|---|
| private String property | |
| resources | back to summary |
|---|---|
| private Resources resources | |
| STRING | back to summary |
|---|---|
| private static final String STRING | |
| string | back to summary |
|---|---|
| private String string | |
| trim | back to summary |
|---|---|
| private Boolean trim | |
| when | back to summary |
|---|---|
| private Comparison when | |
| Length | back to summary |
|---|---|
| public Length() | |
| add | back to summary |
|---|---|
| public synchronized void add(FileSet fs) Add a FileSet.
| |
| add | back to summary |
|---|---|
| public synchronized void add(ResourceCollection c) Add a ResourceCollection.
| |
| eval | back to summary |
|---|---|
| public boolean eval() Implements org. Fulfill the condition contract.
| |
| execute | back to summary |
|---|---|
| public void execute() Overrides org. Execute the length task.
| |
| getLength | back to summary |
|---|---|
| private static long getLength(String s, boolean t) | |
| getTrim | back to summary |
|---|---|
| public boolean getTrim() Learn whether strings will be trimmed. Default false.
| |
| handleResources | back to summary |
|---|---|
| private void handleResources(Length. | |
| setFile | back to summary |
|---|---|
| public synchronized void setFile(File file) Set the single file for this task.
| |
| setLength | back to summary |
|---|---|
| public synchronized void setLength(long ell) Set the target count number for use as a Condition.
| |
| setMode | back to summary |
|---|---|
| public synchronized void setMode(Length. Set the execution mode for working with files. | |
| setProperty | back to summary |
|---|---|
| public synchronized void setProperty(String property) The property in which the length will be stored.
| |
| setResource | back to summary |
|---|---|
| public synchronized void setResource(Resource resource) Set the single resource for this task.
| |
| setString | back to summary |
|---|---|
| public synchronized void setString(String string) Set the string whose length to get.
| |
| setTrim | back to summary |
|---|---|
| public synchronized void setTrim(boolean trim) Set whether to trim in string mode. Default false.
| |
| setWhen | back to summary |
|---|---|
| public synchronized void setWhen(Length. Set the comparison for use as a Condition.
| |
| setWhen | back to summary |
|---|---|
| public synchronized void setWhen(Comparison c) Set the comparison for use as a Condition.
| |
| validate | back to summary |
|---|---|
| private void validate() | |
| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected long | |
| protected synchronized void |
| accum | back to summary |
|---|---|
| private long accum | |
| AccumHandler | back to summary |
|---|---|
| pack-priv AccumHandler() | |
| AccumHandler | back to summary |
|---|---|
| protected AccumHandler(PrintStream ps) | |
| getAccum | back to summary |
|---|---|
| protected long getAccum() | |
| handle | back to summary |
|---|---|
| protected synchronized void handle(Resource r) Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void |
| AllHandler | back to summary |
|---|---|
| pack-priv AllHandler(PrintStream ps) | |
| complete | back to summary |
|---|---|
| pack-priv void complete() Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| EachHandler | back to summary |
|---|---|
| pack-priv EachHandler(PrintStream ps) | |
| handle | back to summary |
|---|---|
| protected void handle(Resource r) Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: String[].Implements abstract org. |
| MODES | back to summary |
|---|---|
| pack-priv static final String[] MODES | |
| FileMode | back to summary |
|---|---|
| public FileMode() | |
| getValues | back to summary |
|---|---|
| public String[] getValues() Implements abstract org. Return the possible values for FileMode. | |
| Modifier and Type | Field and Description |
|---|---|
| private PrintStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| protected PrintStream | |
| protected abstract void |
| ps | back to summary |
|---|---|
| private PrintStream ps | |
| Handler | back to summary |
|---|---|
| pack-priv Handler(PrintStream ps) | |
| complete | back to summary |
|---|---|
| pack-priv void complete() | |
| getPs | back to summary |
|---|---|
| protected PrintStream getPs() | |
| handle | back to summary |
|---|---|
| protected abstract void handle(Resource r) | |
| Access | Constructor and Description |
|---|---|
| public |
| When | back to summary |
|---|---|
| public When() | |