Класс StyleConverter.StringStore
java.lang.Object
javafx.css.StyleConverter.StringStore
- Вложенный класс:
- StyleConverter<F,T>
public static class StyleConverter.StringStore
extends Object Класс StringStore.
- C момента:
- 9
Краткое описание полей
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
StringStore() | Создает StringStore. |
Краткое описание методов
| Модификатор и тип | Метод | Описание |
|---|---|---|
int | addString(String s) | Добавляет заданную строку в StringStore. |
static String[] | readBinary(DataInputStream is) | Читает строки StringStore из заданного DataInputStream. |
void | writeBinary(DataOutputStream os) | Записывает строки 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.