Logo Search packages:      
Sourcecode: jlha-utils version File versions  Download package

String org::jlhafrontend::ListFormatter::toField ( String  s1,
int  fieldLen,
boolean  leftAlign 
) [inline]

padding spaces if a given string is not long enough

s1 the given string
fieldLen minimal length of the return string
leftAlign If true, the space will padding to the end of the string. If false, the space will padding to the head of the string.
padded string

Definition at line 106 of file ListFormatter.java.

Referenced by org::jlhafrontend::JLHAFrontEnd::createFile(), getPACKED(), getPERMSSN(), getRATIO(), getSIZE(), getSTAMP(), getUIDGID(), org::jlhafrontend::JLHAFrontEnd::list(), and org::jlhafrontend::JLHAFrontEnd::verboseList().

      return ListFormatter._toField(s1,fieldLen,leftAlign);

Generated by  Doxygen 1.6.0   Back to index