public interface SpoonResource
SpoonModelBuilder
in the Java compilation process.Modifier and Type | Method and Description |
---|---|
File |
getFileSystemParent()
Gets the parent of this resource on the file system.
|
String |
getName()
Gets the name of this resource.
|
SpoonFolder |
getParent()
Gets the folder that contains this resource.
|
String |
getPath()
Gets this resource path.
|
boolean |
isArchive()
Tells if this resource is an archive.
|
boolean |
isFile()
Tells if this resource is a file.
|
File |
toFile()
Gets the corresponding file if possible (returns null if this resource
does not correspond to any file on the filesystem).
|
SpoonFolder getParent()
String getName()
boolean isFile()
boolean isArchive()
String getPath()
File getFileSystemParent()
File toFile()
Copyright © 2007–2019 Inria. All rights reserved.