本文整理汇总了Java中com.sun.squawk.io.j2me.spotsuite.Pointer类的典型用法代码示例。如果您正苦于以下问题:Java Pointer类的具体用法?Java Pointer怎么用?Java Pointer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Pointer类属于com.sun.squawk.io.j2me.spotsuite包,在下文中一共展示了Pointer类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: FlashObjectMemoryReader
import com.sun.squawk.io.j2me.spotsuite.Pointer; //导入依赖的package包/类
/**
* Creates a <code>ObjectMemoryReader</code> that reads object memory file
* components from a given input stream.
*
* @param in
* the input stream
* @param filePath
* the file from which <code>in</code> was created
*/
public FlashObjectMemoryReader(InputStream in, String filePath) {
super(in, filePath);
// cache the underlying input stream - we will want to talk to that.
try {
pointer = (Pointer) in;
} catch (ClassCastException e) {
Assert.shouldNotReachHere();
}
}