Class URLConverter
public final class URLConverter
extends StyleConverter<ParsedValue[],String> Converter to convert a parsed value representing URL to a URL string that is resolved relative to the location of the stylesheet. The input value is in the form:
url("<path>").- Since:
- 9
Nested Class Summary
| Modifier and Type | Class | Description |
|---|---|---|
static class | URLConverter.SequenceConverter | Converter to convert a sequence of URLs to an array of Strings. |
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
static StyleConverter<ParsedValue[],String> | getInstance() | Gets the URLConverter instance. |
Methods declared in class javafx.css.StyleConverter
cacheValue, clearCache, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
Method Details
getInstance
public static StyleConverter<ParsedValue[],String> getInstance()
Gets the
URLConverter instance.- Returns:
- the
URLConverterinstance
© 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.