public final class ResourcesUtil
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.io.File |
getFile(java.lang.Class resourceClass,
java.lang.String fileName)
Returns a
File named fileName associated with Class resourceClass . |
public static java.io.File getFile(java.lang.Class resourceClass, java.lang.String fileName)
File
named fileName
associated with Class
resourceClass
.resourceClass
- The associated classfileName
- The file namefileName
associated with Class
resourceClass
.