public class SignatureFilePrinter extends Object implements SignaturePrinter
Modifier and Type | Method and Description |
---|---|
void |
print(Signature signature)
Prints a signature to this printer.
|
static void |
writeSignature(String filename,
Signature signature)
Reads a signature from a file and returns it.
|
public static void writeSignature(String filename, Signature signature) throws IOException
filename
- the name of the file from which the signature is readsignature
- the signature to be writtenIOException
- thrown if an I/O error occurredpublic void print(Signature signature)
SignaturePrinter
print
in interface SignaturePrinter
signature
- the signature to be printed