搜索资源列表
用Java编写HTML文件分析程序
- 用Java编写HTML文件分析程序 一、概述 Web服务器的核心是对Html文件中的各标记(Tag)作出正确的分析,一种编程语言的解释程序也是对源文件中的保留字进行分析再做解释的。实际应用中,我们也经常会碰到需要对某一特定类型文件进行要害字分析的情况,比如,需要将某个HTML文件下载并同时下载与之相关的.gif、.class等文件,此时就要求对HTML文件中的标记进行分离,找出所需的文件名及目录。在Java出现以前,类似工作需要对文件中的每个字符进行分析,从中找出所需部
huffman
- /** * 显示输入提示压缩或解压缩 继承了InputStream类,装有输入流。 */ public class HZIPInputStream extends InputStream { /** * HZIPInputStream 类的构造函数,定义了huffman树,输入流。 * * @param in 输入流。 * @throws IOException:如果发生I/O错误则抛出异常。 */
ioliu
- * io流 运用 * 注意:只要子类 包含以下类名字的,就是该流的继承 * InputStream----- 输入字节流 * Reader-------- 输入字符流 * OutputStream-----输出字节流 * Writer --------输出字符流
SocketSet
- 此工程为通信系统TC/IP协议 主要技术是纯java 主要用到的io流,输入流如:InputStream,InputStreamReader,BufferedReader等。输出流如:OutputStream,OutputStreamWriter,PrintWriter等 功能:主要是通过服务器端,客户端的通信,符合多线程的开发,请使用者放心使用 描述:此小项目用到了各种io流,对于学习流的人有极大帮助。-This works for communications systems
TCPServer
- java网络编程 等待客户端的连接请求,等待时程序阻塞接收单个字符接收整行数据-import java.io.BufferedReader import java.io.InputStream import java.io.InputStreamReader import java.io.OutputStream import java.net.ServerSocket import java.net.Socket
Android-VieW-Canvas-bitmap
- BitMap、View以及Canvas是我们Ophone程序中常用到的类。本日以feisky的学习笔记呈现,通过实例讲解View&Canvas等等。 1. 从资源中获取位图 可以使用BitmapDrawable或者BitmapFactory来获取资源中的位图。 当然,首先需要获取资源: Resources res=getResources() 使用BitmapDrawable获取位图 使用BitmapDrawable (InputStrea
MediaPlayDemo
- android实时语音采集 视频采集 播放-package com.example.android import java.io.ByteArrayInputStream import java.io.ByteArrayOutputStream import java.io.FileOutputStream import java.io.IOException import java.io.InputStream import java.i
TempFile
- Gets an <code>InputStream</code> to read bytes from this temporary file. -Gets an <code>InputStream</code> to read bytes from this temporary file.Gets an <code>InputStream</code> to read bytes from this temporar
ByteArrayInputStream
- A specialized InputStream for reading the contents of a byte array.
Support_ASimpleInputStream
- An implementation of InputStream that should serve as the underlying stream for classes to be tested.
download
- 一个Android文件下载Download程序示例,文件会下载至local端,远程安装程序(请输入URL),取得远程文件,取得URL,创建连接,InputStream 下载文件,创建临时文件,取得站存盘案路径,将文件写入暂存盘,在手机上打开文件的method ,调用getMIMEType()来取得MimeType,设置intent的file与MimeType ,判断文件MimeType的method,取得扩展名,依扩展名的类型决定MimeType,如果无法直接打开,就跳出软件列表给用户选择-De
InputStreamHelper
- The class contains static java.io.InputStream utilities.
StringBufferInputStream
- A specialized InputStream that reads bytes from a String in a sequential manner.
Object3D
- Override this method with an implementation that contructs and InputStream from the given filename.
ObjectInputStream
- A specialized InputStream that is able to read (deserialize) Java objects as well as primitive data types (int, byte, char etc.).
FileInputStream
- A specialized InputStream that reads from a file in the file system.
InputStreamEntity
- A streamed entity obtaining content from an InputStream InputStream.
Support_ASimpleInputStream
- An implementation of InputStream that should serve as the underlying stream for classes to be tested.
SSLStreamedInput
- This class acts like a filtered input stream: it takes the bytes from another InputStream.
TempFile
- Gets an InputStream to read bytes from this temporary file.