Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Left.java

00001 package gov.nasa.arc.ase.util;
00002 
00003 public class Left {
00004   public static String format(int value, int digits) {
00005     String result = Integer.toString(value);
00006 
00007     while(result.length() < digits)
00008       result = result + " ";
00009 
00010     return result;
00011   }  
00012   public static String format(String value, int spaces) {
00013     while(value.length() < spaces)
00014       value = value + " ";
00015 
00016     return value;
00017   }  
00018 }

Generated at Thu Feb 7 06:49:15 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001