📄 imagesource.java
字号:
package org.jflashme;/* This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License, version 2, as * published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License (the accompanying file named LGPL.txt) * for more details. *//*class ImageSource extends URLImageSource{ ByteArrayInputStream is; byte data[]; ImageSource(FlashPane flash) throws MalformedURLException { super(flash.getCodeBase()); } void SetData(byte abyte0[]) { data = abyte0; } void CreateInputStream() { is = new ByteArrayInputStream(data); } void DestroyInputStream() { try { if(is != null) { is.close(); is = null; return; } } catch(IOException _ex) { } } protected ImageDecoder getDecoder() { return new JPEGImageDecoder(this, is); }}*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -