Package com.norconex.commons.lang.convert

# Class PathConverter

java.lang.Object
com.norconex.commons.lang.convert.AbstractConverter
com.norconex.commons.lang.convert.PathConverter

All Implemented Interfaces:
  `Converter`

public class PathConverter extends AbstractConverter
GenericConverter for `Path`.

Since:
  2.0.0

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `PathConverter.JsonDeserializer`
  JSON (Jackson) deserializer using this converter.
  `static class`
  `PathConverter.JsonSerializer`
  JSON (Jackson) serializer using this converter.
  `static class`
  `PathConverter.XmlAdapter`
  XML (JAXB) adapter using this converter.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PathConverter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected String`
  `nullSafeToString(Object object)`
  `protected <T> T`
  `nullSafeToType(String value, Class<T> type)`

  ### Methods inherited from class com.norconex.commons.lang.convert.AbstractConverter

  `canEqual, equals, hashCode, toString, toString, toStringException, toStringException, toType, toTypeException, toTypeException, toUnsupportedTypeException`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface com.norconex.commons.lang.convert.Converter

  `toString, toType`

- ## Constructor Details

  - ### PathConverter

    public PathConverter()

- ## Method Details

  - ### nullSafeToString

    protected String nullSafeToString(Object object)
    Specified by:
      `nullSafeToString` in class `AbstractConverter`

  - ### nullSafeToType

    protected <T> T nullSafeToType(String value, Class<T> type)
    Specified by:
      `nullSafeToType` in class `AbstractConverter`