public class ResourceInfo extends Object
Constructor and Description |
---|
ResourceInfo(String id,
String path)
Creates a new instance.
|
ResourceInfo(String id,
String path,
boolean directory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the container datasource ID.
|
String |
getPath()
Returns the real path.
|
boolean |
isDirectory()
Returns the directory.
|
public ResourceInfo(String id, String path)
id
- the container datasource IDpath
- the resource real pathIllegalArgumentException
- if some parameters were null
public ResourceInfo(String id, String path, boolean directory)
id
- the container datasource IDpath
- the resource real pathdirectory
- target directoryIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.