Spec-Zone.ru › OpenJavaFX 24

Класс 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(String s)
Добавляет заданную строку в StringStore.
static String[] readBinary(DataInputStream is)
Считывает строки StringStore из заданного DataInputStream.
void writeBinary(DataOutputStream os)
Записывает строки StringStore в заданный DataOutputStream.

Методы, объявленные в классе java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Подробное описание полей

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 и/или его дочерние компании. Все права защищены.

© 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API