private static Opt < String > readFragment ( final URI link ) { final Opt < String > fragment ; if ( link . getRawFragment ( ) == null ) { fragment = new Opt . Empty <> ( ) ; } else { fragment = new Opt . Single <> ( link . getRawFragment ( ) ) ; } return fragment ; }
Read fragment part from the given URI .