|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectnet.argius.stu.text.Trimmer
文字列の桁揃え編集を行うクラスです。 新しいインスタンスは生成できません。
| フィールドの概要 | |
static Trimmer |
LEFT
整列方向・左寄せを示す定数です。 |
static Trimmer |
RIGHT
整列方向・右寄せを示す定数です。 |
| メソッドの概要 | |
static String |
cut(String s,
int length)
桁切り処理を行います。 |
static String |
cut(String s,
int length,
Trimmer direction)
桁切り処理を行います。 |
int |
hashCode()
|
static String |
pad(String s,
int length)
桁埋め処理を行います。 |
static String |
pad(String s,
int length,
char padding)
桁埋め処理を行います。 |
static String |
pad(String s,
int length,
char padding,
Trimmer direction)
桁埋め処理を行います。 |
static String |
trim(String s,
int length)
桁揃え編集を行います。 |
static String |
trim(String s,
int length,
Trimmer direction)
桁揃え編集を行います。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final Trimmer LEFT
public static final Trimmer RIGHT
| メソッドの詳細 |
public static String trim(String s,
int length)
s - 編集する値length - 編集後の桁数(バイト数)
public static String trim(String s,
int length,
Trimmer direction)
s - 編集する値length - 編集後の桁数(バイト数)direction - 整列方向
public static String pad(String s,
int length)
s - 編集する値length - 編集後の桁数(バイト数)
public static String pad(String s,
int length,
char padding)
s - 編集する値length - 編集後の桁数(バイト数)padding - 桁埋めに使用する文字
public static String pad(String s,
int length,
char padding,
Trimmer direction)
s - 編集する値length - 編集後の桁数(バイト数)padding - 桁埋めに使用する文字direction - 整列方向
public static String cut(String s,
int length)
s - 編集する値length - 編集後の桁数(バイト数)
public static String cut(String s,
int length,
Trimmer direction)
s - 編集する値length - 編集後の桁数(バイト数)direction - 整列方向
public int hashCode()
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||