代码搜索:InputStream
找到约 5,812 项符合「InputStream」的源代码
代码结果 5,812
www.eeworm.com/read/104413/15694793
txt 从数据库中读取并生成图片的servlet.txt
作者:邵望
日期:2000-12-24 21:44:55
大体思路
1)创建ServletOutputStream对象out,用于以字节流的方式输出图像
2)查询数据库,用getBinaryStream方法返回InputStream对象in
3)创建byte数组用作缓冲,将in读入buf[],再由out输出
注:下面的例程中数据库连接用了ConnectionPool,以
www.eeworm.com/read/103556/15729242
java key.java
package ecc;
import java.io.*;
/** */
public interface Key {
public Key readKey(InputStream in) throws IOException;
public void writeKey(OutputStream out) throws IOException;
public Key ge
www.eeworm.com/read/103229/15739862
java listing 15-7.java
input javax.microedition lcdui.*
import javax.microedition.midlet.*;
import javax.microedition.io.*;
import java.io.*;
public class httpconnection extends MIDlet implements CommandListener {
pr
www.eeworm.com/read/102004/15795297
pas idiohandlerstream.pas
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Qual
www.eeworm.com/read/100424/15873900
java proxyreader.java
// FrontEnd Plus for JAD
// DeCompiled : proxyReader.class
package utils;
import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
// Referenced classes of package utils:
//
www.eeworm.com/read/127767/14337285
txt e694. reading an image from a file, inputstream, or url.txt
This example demonstrates how to use the javax.imageio package to read an image from a file, input stream, or URL. The example also demonstrates how to display the image on the screen.
GIF, PNG, and