Class StyleConverter.StringStore
java.lang.Object
javafx.css.StyleConverter.StringStore
- Enclosing class:
 StyleConverter<F,T> 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintAdds given string to theStringStore.static String[]Read the StringStore strings from a givenDataInputStream.voidWrites theStringStorestrings to a givenDataOutputStream. 
- 
Field Details
- 
strings
 
 - 
 - 
Constructor Details
- 
StringStore
public StringStore()Creates aStringStore. 
 - 
 - 
Method Details
- 
addString
Adds given string to theStringStore.- Parameters:
 s- string to be added to theStringStore- Returns:
 - index at which the given string gets added
 
 - 
writeBinary
Writes theStringStorestrings to a givenDataOutputStream.- Parameters:
 os-DataOutputStreamwhere the StringStore strings need to be written- Throws:
 IOException- if writing toDataOutputStreamfails
 - 
readBinary
Read the StringStore strings from a givenDataInputStream.- Parameters:
 is-DataInputStreamfrom where StringStore strings need to be read from- Returns:
 - a 
Stringarray constructed by readingDataInputStream - Throws:
 IOException- if reading fromDataInputStreamfails
 
 -