private static String formatResolution ( Resolution resolution , int depth ) { return new StringBuilder ( MIN_LENGTH ) . append ( String . valueOf ( resolution . getWidth ( ) ) ) . append ( Constant . STAR ) . append ( String . valueOf ( resolution . getHeight ( ) ) ) . append ( Constant . STAR ) . append ( depth ) . append ( Constant . SPACE ) . append ( Constant . AT ) . append ( String . valueOf ( resolution . getRate ( ) ) ) . append ( Constant . UNIT_RATE ) . toString ( ) ; }
Format resolution to string .