org.jiucai.appframework.common.util
类 SwfUtil
java.lang.Object
org.jiucai.appframework.common.util.BaseUtil
org.jiucai.appframework.common.util.SwfUtil
public class SwfUtil
- extends BaseUtil
This class will read just enough of a SWF file's header to glean the
essential meta-data about the animation.
This is based on SWF File
Format Specification (version 10).
- 从以下版本开始:
- Mar 22, 2011
- 作者:
- Resnbl Software
| 从类 org.jiucai.appframework.common.util.BaseUtil 继承的字段 |
log |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInfo
public static SwfInfo getInfo(String path)
throws FileNotFoundException
- Get the header info for a (potential) SWF file specified by a file path String.
- 参数:
path - containing path to file.
- 返回:
- SWFinfo object or null if file not found or not SWF.
- 抛出:
FileNotFoundException
getInfo
public static SwfInfo getInfo(File file)
throws FileNotFoundException
- Get the header info for a (potential) SWF file specified by a File object.
- 参数:
file - File pointing to the desired SWF file.
- 返回:
- SWFinfo object or null if file not found or not SWF.
- 抛出:
FileNotFoundException
getInfo
public static SwfInfo getInfo(InputStream fis)
throws IOException
- 获取文件输入流
- 参数:
fis -
- 返回:
- SwfInfo
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.