{"modulePath":"github.com/openshift/origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package java\n\n## Functions\n\n```go\nfunc Asset(name string) ([]byte, error)\n```\nAsset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.\n\n```go\nfunc AssetDir(name string) ([]string, error)\n```\nAssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:\n\n\tdata/\n\t  foo.txt\n\t  img/\n\t    a.png\n\t    b.png\n\nthen AssetDir(\"data\") would return \\[]string{\"foo.txt\", \"img\"} AssetDir(\"data/img\") would return \\[]string{\"a.png\", \"b.png\"} AssetDir(\"foo.txt\") and AssetDir(\"notexist\") would return an error AssetDir(\"\") will return \\[]string{\"data\"}.\n\n```go\nfunc AssetInfo(name string) (os.FileInfo, error)\n```\nAssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.\n\n```go\nfunc AssetNames() []string\n```\nAssetNames returns the names of the assets.\n\n```go\nfunc MustAsset(name string) []byte\n```\nMustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.\n\n```go\nfunc RestoreAsset(dir, name string) error\n```\nRestoreAsset restores an asset under the given directory\n\n```go\nfunc RestoreAssets(dir, name string) error\n```\nRestoreAssets restores an asset under the given directory recursively\n\n","path":"github.com/openshift/origin/pkg/assets/java","name":"java","synopsis":"","isRedistributable":true}
