|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.instantbank.component.lettersjobmdb.ejb.LettersJobMessageEJB.SequencedFileName
Auxiliary class that generates names of files with a sequencing criterium.
| Field Summary | |
private char[] |
buffer
Temporay buffer for efficient name building. |
private java.text.DecimalFormat |
df
Formatter for the sequence number. |
private int |
seqIndex
Index inside the buffer where the sequencing figure is placed. |
private int |
seqnum
Sequence number |
| Constructor Summary | |
LettersJobMessageEJB.SequencedFileName(java.lang.String jobName,
java.util.Date date,
int seqNum)
SequencedFileName constructor. |
|
| Method Summary | |
java.lang.String |
nextName()
Produces the next name. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int seqnum
private char[] buffer
private int seqIndex
buffer where the sequencing figure is placed.private java.text.DecimalFormat df
| Constructor Detail |
public LettersJobMessageEJB.SequencedFileName(java.lang.String jobName,
java.util.Date date,
int seqNum)
jobName - String seed for names.date - Date seed for names.seqNum - Starting value for the sequence number.| Method Detail |
public java.lang.String nextName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||