org.neociclo.odetteftp.protocol
Interface CommandFormat

All Known Implementing Classes:
ReleaseFormatVer13, ReleaseFormatVer14, ReleaseFormatVer20

public interface CommandFormat

This is a package visible class that provides support to represent a command format. Command is a sequence of plain fields, which type should be Numeric, Alphanumeric, Binary and format Fixed or Variable.

Version:
$Rev: 411 $ $Date: 2010-06-21 11:55:04 -0300 (Mon, 21 Jun 2010) $
Author:
Rafael Marins

Nested Class Summary
static class CommandFormat.Field
          Command Format is compound of one or more fields.
 
Method Summary
 CommandFormat.Field getField(String name)
          Return a Command Format field definition by its key name.
 String[] getFieldNames()
           
 CommandIdentifier getIdentifier()
           
 int getSize()
           
 

Method Detail

getField

CommandFormat.Field getField(String name)
Return a Command Format field definition by its key name.

Parameters:
name - Field key name within Command Format.
Returns:
Field definition, or null if it does not exist.

getFieldNames

String[] getFieldNames()

getIdentifier

CommandIdentifier getIdentifier()

getSize

int getSize()
Returns:


ACCORD