Code example for Formatter

Methods: close, format, toString

0
      return _runtimeConfigPrefix;
    } 
 
    public static File generateCheckpointFile(File rootDir, String basename, int index)
    { 
      Formatter fmt = new Formatter();
      try 
      { 
        fmt.format(RuntimeConfigBuilder.CHECKPOINT_FILE_EXT_PATTERN, index);
 
        return new File(rootDir, basename + fmt.toString());
      } 
      finally 
      { 
        fmt.close();
      } 
    } 
 
	@Override 
	public String toString() {
		return "StaticConfig [_rootDirectory=" + _rootDirectory + ", _runtime="