JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
net.flectone.pulse.parser.string
URLParser
Contents
Description
Method Summary
Method Details
parse(String)
Hide sidebar
Show sidebar
Interface URLParser
public interface
URLParser
Reads a url out of text, rejecting anything malformed.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
@NonNull
Optional
<
URL
>
parse
(@Nullable
String
string)
Parses a url.
Method Details
parse
@NonNull
Optional
<
URL
>
parse
(@Nullable
String
string)
Parses a url.
Parameters:
string
- the text, may be null
Returns:
the url, or empty if the text is not one