| Modifier and Type | Class and Description |
|---|---|
| private static class | VerifyJar.BufferingOutputFilter
we are not thread safe here. |
| private static class | VerifyJar.BufferingOutputFilterReader
catch the output of the buffer |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | certificates
certification flag |
| public static final String | ERROR_NO_FILE
no file message Not found : |
| public static final String | ERROR_NO_VERIFY
Error output if there is a failure to verify the jar. |
| private VerifyJar. | |
| private String | |
| private static final String | VERIFIED_TEXT
The string we look for in the text to indicate direct verification |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | beginExecution()
Overrides org. |
| protected void | endExecution()
Overrides org. |
| public void | |
| public void | setCertificates(boolean
if true print certificates. certificates)Ask for certificate information to be printed |
| private void |
| certificates | back to summary |
|---|---|
| private boolean certificates certification flag | |
| ERROR_NO_FILE | back to summary |
|---|---|
| public static final String ERROR_NO_FILE no file message Not found : | |
| ERROR_NO_VERIFY | back to summary |
|---|---|
| public static final String ERROR_NO_VERIFY Error output if there is a failure to verify the jar. | |
| outputCache | back to summary |
|---|---|
| private VerifyJar. | |
| savedStorePass | back to summary |
|---|---|
| private String savedStorePass | |
| VERIFIED_TEXT | back to summary |
|---|---|
| private static final String VERIFIED_TEXT The string we look for in the text to indicate direct verification | |
| VerifyJar | back to summary |
|---|---|
| public VerifyJar() | |
| beginExecution | back to summary |
|---|---|
| protected void beginExecution() Overrides org. Doc from org. init processing logic; this is retained through our execution(s)
| |
| endExecution | back to summary |
|---|---|
| protected void endExecution() Overrides org. Doc from org. any cleanup logic
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. verify our jar files
| |
| setCertificates | back to summary |
|---|---|
| public void setCertificates(boolean certificates) Ask for certificate information to be printed
| |
| verifyOneJar | back to summary |
|---|---|
| private void verifyOneJar(File jar) verify a JAR.
| |
| Modifier and Type | Field and Description |
|---|---|
| private VerifyJar. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Reader | chain(Reader
the reader which the returned reader should be filtering rdr)Implements org. |
| public void | |
| public String |
| buffer | back to summary |
|---|---|
| private VerifyJar. | |
| BufferingOutputFilter | back to summary |
|---|---|
| private BufferingOutputFilter() | |
| chain | back to summary |
|---|---|
| public Reader chain(Reader rdr) Implements org. Doc from org. Returns a reader with the same configuration as this one, but filtering input from the specified reader. | |
| clear | back to summary |
|---|---|
| public void clear() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private StringBuffer | |
| private Reader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close()
Implements abstract java. Implements java. |
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read len)Implements abstract java. |
| public String |
| buffer | back to summary |
|---|---|
| private StringBuffer buffer | |
| next | back to summary |
|---|---|
| private Reader next | |
| BufferingOutputFilterReader | back to summary |
|---|---|
| public BufferingOutputFilterReader(Reader next) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int off, int len) throws IOException Implements abstract java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |