|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.frame4j.util.App
de.frame4j.MakeDigest
@MinDoc(copyright="Copyright 2010 A. Weinert",
author="Albrecht Weinert",
version="V.21",
lastModified="12.02.2010",
lastModifiedBy="A. Weinert",
usage="start as Java application (-? for help)",
purpose="generate a digest for a given text")
public class MakeDigest
Generate a digest (default MD5) for a given text.
This Java application make a digest for a text given as
MakeDigest
(source)
belongs a .properties file
MakeDigest.properties
that may be considered as part of the documentation and may
answer open questions.
App| Field Summary | |
|---|---|
String |
alg
Type of the digest algorithm. |
boolean |
hiddenEntry
Use hidden (password) as text. |
String |
inEncoding
The input's (text file) encoding. |
String |
input
The input text (or file name). |
boolean |
inputIsFile
The input is a file name. |
protected ProxyProps |
proxyProps
The proxy settings. |
boolean |
singleQuote
Surround the digest by single quotes. |
| Fields inherited from class de.frame4j.util.App |
|---|
ano, appBase, appIO, appStartTime, args, bgColor, err, fullClassName, help, icon, INIT_ERROR, jmxRemoteNote, JOB_DONE_OK, log, LOG_OUT_ERROR, MAIN_THREAD_EXC, mainThread, myClass, myFrame, name, NO_PARS_ERROR, objectName, out, outMode, packName, prop, retCode, runFlag, shortClassName, title, verbose, verbosity |
| Fields inherited from interface de.frame4j.net.AttrSettable |
|---|
ILLEGAL_TYPE, ILLEGAL_VALUE, NO_ATTRIBUTE, NO_KNOWN_ATTRIBUTE, NO_VALUE, OK |
| Constructor Summary | |
|---|---|
MakeDigest()
|
|
| Method Summary | |
|---|---|
int |
doIt()
Working method of MakeDigest. |
static void |
main(String[] args)
Start method of MakeDigest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String alg
public String input
public boolean inputIsFile
public String inEncoding
public boolean hiddenEntry
public boolean singleQuote
protected ProxyProps proxyProps
| Constructor Detail |
|---|
public MakeDigest()
| Method Detail |
|---|
public static void main(String[] args)
args - command line parameter public int doIt()
doIt in class AppProp,
App.go(String[], boolean),
App.go(String[], String, boolean, CharSequence),
App.mainThread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||