public class AnsiPropertySource extends PropertySource<AnsiElement>
AnsiStyle
、AnsiColor
、AnsiBackground
エレメントの場合は PropertyResolver
。AnsiStyle.BOLD
、AnsiColor.RED
、AnsiBackground.GREEN
の形式のプロパティをサポートします。また、すべての集合体である Ansi.
の接頭辞もサポートします(背景色の接頭辞は BG_
です)。PropertySource.StubPropertySource
logger, name, source
コンストラクターと説明 |
---|
AnsiPropertySource(StringSE name, boolean encode) 新しい AnsiPropertySource インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getProperty(StringSE name) |
containsProperty, equals, getName, getSource, hashCode, named, toString
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public AnsiPropertySource(StringSE name, boolean encode)
AnsiPropertySource
インスタンスを作成します。name
- プロパティソースの名前 encode
- 出力をエンコードする必要がある場合 public ObjectSE getProperty(StringSE name)
PropertySource<AnsiElement>
の getProperty
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.