Класс StyleConverter.StringStore
java.lang.Object
fx.css.StyleConverter.StringStore
- Вложенный класс:
StyleConverter<F,T>
public static class StyleConverter.StringStore extends Object
Класс StringStore.
- С тех пор:
- 9
Краткое описание полей
| Модификатор и тип | Поле | Описание |
|---|---|---|
final List |
strings |
Список строк этого StringStore. |
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
StringStore() |
Создаёт StringStore. |
Краткое описание методов
| Модификатор и тип | Метод | Описание |
|---|---|---|
int |
addString |
Добавляет заданную строку в StringStore. |
static String[] |
readBinary |
Считывает строки StringStore из заданного DataInputStream. |
void |
writeBinary |
Записывает строки StringStore в заданный DataOutputStream. |
Подробное описание полей
strings
public final List<String> strings
Список строк этого
StringStore.Подробное описание конструкторов
StringStore
public StringStore()
Создаёт
StringStore.Подробное описание методов
addString
public int addString(String s)
Добавляет заданную строку в
StringStore.- Параметры:
-
s- добавляемая строка вStringStore - Возвращает:
- индекс, в который добавлена заданная строка
writeBinary
public void writeBinary(DataOutputStream os) throws IOException
Записывает строки
StringStore в заданный DataOutputStream.- Параметры:
-
os-DataOutputStream, куда нужно записать строки StringStore - Исключения:
-
IOException- если запись вDataOutputStreamне удалась
readBinary
public static String[] readBinary(DataInputStream is) throws IOException
Считывает строки StringStore из заданного
DataInputStream.- Параметры:
-
is-DataInputStream, откуда считываются строки StringStore - Возвращает:
- массив
String, созданный путём считыванияDataInputStream - Исключения:
-
IOException- если считывание изDataInputStreamне удалось
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.