@Test public void testPad1() { String string = ViewArchive.padWith0( "", 10 ); Assert.assertEquals( "0000000000", string ); }
@VisibleForTesting static String padWith0( final String base, final int length ) { StringBuilder sb = new StringBuilder( base ); while ( sb.length() < length ) { sb.insert( 0, '0' ); } return sb.toString(); }
ViewArchive { @VisibleForTesting static String padWith0( final String base, final int length ) { StringBuilder sb = new StringBuilder( base ); while ( sb.length() < length ) { sb.insert( 0, '0' ); } return sb.toString(); } }
ViewArchive { @VisibleForTesting static String padWith0( final String base, final int length ) { StringBuilder sb = new StringBuilder( base ); while ( sb.length() < length ) { sb.insert( 0, '0' ); } return sb.toString(); } private  ViewArchive( final File folder, final String format, final boolean clean ); }
ViewArchive { @VisibleForTesting static String padWith0( final String base, final int length ) { StringBuilder sb = new StringBuilder( base ); while ( sb.length() < length ) { sb.insert( 0, '0' ); } return sb.toString(); } private  ViewArchive( final File folder, final String format, final boolean clean ); static void execute( final File folder, final String format, final boolean clean ); }
ViewArchive { @VisibleForTesting static String padWith0( final String base, final int length ) { StringBuilder sb = new StringBuilder( base ); while ( sb.length() < length ) { sb.insert( 0, '0' ); } return sb.toString(); } private  ViewArchive( final File folder, final String format, final boolean clean ); static void execute( final File folder, final String format, final boolean clean );  }