|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Static Public Member Functions | |
| static string | ToPackageName (string name) |
Derive a package name for a resource. The package name returned by this method may not be a legal package name. This method returns null if the resource name ends with a "/" (a directory) or the resource name does not contain a "/". | |
| static string | ToResourceName (string dir, string file) |
| Returns a resource name corresponding to the relative file path between dir and file . If the file is a directory then the name will end with a "/", except the top-level directory where the empty string is returned. | |
| static ? string | ToFilePath (string dir, string name) |
Returns a file path to a resource in a file tree. If the resource name has a trailing "/" then the file path will locate a directory. Returns null if the resource does not map to a file in the tree file. | |
Definition at line 7 of file Resources.cs.
|
static |
Returns a file path to a resource in a file tree. If the resource name has a trailing "/" then the file path will locate a directory. Returns null if the resource does not map to a file in the tree file.
Definition at line 62 of file Resources.cs.
|
static |
Derive a package name for a resource. The package name returned by this method may not be a legal package name. This method returns null if the resource name ends with a "/" (a directory) or the resource name does not contain a "/".
Definition at line 15 of file Resources.cs.
|
static |
Returns a resource name corresponding to the relative file path between dir and file . If the file is a directory then the name will end with a "/", except the top-level directory where the empty string is returned.
Definition at line 33 of file Resources.cs.