com.ancientprogramming.fixedformat4j.annotation
Annotation Type Record


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Record

Marks a class as a representation of a fixed format record

Since:
1.0.0
Author:
Jacob von Eyben - http://www.ancientprogramming.com

Optional Element Summary
 int length
          The fixed length of the record.
 char paddingChar
          The char to pad with.
 

length

public abstract int length
The fixed length of the record. It means that the record will always be that long padded with {#paddingChar()}'s

Returns:
the length of the record. -1 means no fixed length.
Default:
-1

paddingChar

public abstract char paddingChar
The char to pad with.

Returns:
the char to pad with if the record is set to a fixed length;
Default:
32


Copyright © 2008 ancientprogramming.com. All Rights Reserved.