Класс StyleConverter.StringStore
java.lang.Object
fx.css.StyleConverter.StringStore
- Вложенный класс:
StyleConverter<F,T>
public static class StyleConverter.StringStore extends Object
Класс StringStore.
- С тех пор как:
- 9
Краткое описание полей
| Модификатор и тип | Поле | Описание |
|---|---|---|
final List<String> |
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.