public class FileAsset extends Object implements Asset
public FileAsset(File file)
file - The file to loadIllegalArgumentException - File can not be nullIllegalArgumentException - File must existpublic InputStream openStream()
openStream in interface AssetInputStream for each call, or null if this type simply represents a logical path
within an ArchiveRuntimeException - If the file is not found.public String toString()
toString in class ObjectObject.toString()Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.