GrammarScope  4.0.0
Static Public Member Functions | Private Member Functions | List of all members
grammarscope.common.utils.URLUtils Class Reference

Static Public Member Functions

static URL makeFileUrl (final String path) throws IOException
 
static URL makeUrl (final String path, final String base0) throws IOException
 

Private Member Functions

 URLUtils ()
 

Detailed Description

Common utilities

Author
Bernard Bou [1313o.nosp@m.u@gm.nosp@m.ail.c.nosp@m.om]

Constructor & Destructor Documentation

◆ URLUtils()

grammarscope.common.utils.URLUtils.URLUtils ( )
private

Member Function Documentation

◆ makeFileUrl()

static URL grammarscope.common.utils.URLUtils.makeFileUrl ( final String  path) throws IOException
static

Url factory

Parameters
pathpath to be turned into url
Returns
URL matching path
Exceptions
IOExceptionexception

◆ makeUrl()

static URL grammarscope.common.utils.URLUtils.makeUrl ( final String  path,
final String  base0 
) throws IOException
static

Url factory

Parameters
pathpath to be turned into url
base0url base
Returns
URL matching path
Exceptions
IOExceptionexception

The documentation for this class was generated from the following file: