# Class URLConverter

java.lang.Object
javafx.css.StyleConverter<ParsedValue[], String>
javafx.css.converter.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

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final class`
  `URLConverter.SequenceConverter`
  Converter to convert a sequence of URLs to an array of `String`s.

  ### 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`

  ### Methods declared in class java.lang.Object

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

- ## Method Details

  - ### getInstance

    public static StyleConverter<ParsedValue[], String> getInstance()
    Gets the `URLConverter` instance.
    Returns:
      the `URLConverter` instance