public class FXGFileResolver extends Object implements IFXGResourceResolver
Constructor and Description |
---|
FXGFileResolver() |
FXGFileResolver(String dir) |
Modifier and Type | Method and Description |
---|---|
String |
getRootPath() |
InputStream |
openStream(String path) |
InputStream |
openStream(URL url) |
String |
resolve(String path) |
void |
setRootPath(String dir) |
public FXGFileResolver(String dir)
public FXGFileResolver()
public String getRootPath()
getRootPath
in interface IFXGResourceResolver
public void setRootPath(String dir)
setRootPath
in interface IFXGResourceResolver
public String resolve(String path)
resolve
in interface IFXGResourceResolver
public InputStream openStream(String path) throws IOException
openStream
in interface IFXGResourceResolver
IOException
public InputStream openStream(URL url) throws IOException
openStream
in interface IFXGResourceResolver
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.