public class SwfUtil extends BaseUtil
限定符和类型 | 方法和说明 |
---|---|
static SwfInfo |
getInfo(File file)
Get the header info for a (potential) SWF file specified by a File
object.
|
static SwfInfo |
getInfo(InputStream fis)
获取文件输入流
|
static SwfInfo |
getInfo(String path)
Get the header info for a (potential) SWF file specified by a file path
String.
|
convertMapValue
public static SwfInfo getInfo(File file) throws FileNotFoundException
file
- File pointing to the desired SWF file.FileNotFoundException
- FileNotFoundExceptionpublic static SwfInfo getInfo(InputStream fis) throws IOException
fis
- InputStreamIOException
- IOExceptionpublic static SwfInfo getInfo(String path) throws FileNotFoundException
path
- containing path to file.FileNotFoundException
- FileNotFoundExceptionCopyright © 2015 jiucai.org. All rights reserved.