public abstract class AbstractPaddingOperator extends Object implements PaddingProcessor
サロゲートペアを考慮します。
| コンストラクタと説明 |
|---|
AbstractPaddingOperator() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
pad(String text,
int size,
char padChar,
boolean rightAlign,
boolean chopped)
テキストをパディングする
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, countpublic String pad(String text, int size, char padChar, boolean rightAlign, boolean chopped)
PaddingProcessorpad インタフェース内 PaddingProcessortext - パディング対象の文字size - サイズpadChar - パディングする文字。rightAlign - 右詰めするかどうか。chopped - 処理対象の文字が固定長を超えている場合に、切り出すかどうか。Copyright © 2025 mygreen. All rights reserved.