上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 92 下一页
摘要: ## 介绍 - java.nio.ByteBuffer - public abstract class ByteBuffer extends Buffer implements Comparable - 最常用的 `Buffer` 子类 ## API ### static - allocateDir 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.nio.Buffer - public abstract class Buffer - 缓冲区都具有 - `mark` ,**可选的标记**,用于重复一个读入或写出操作,默认 -1 - `position` ,**读写位置**,下一个值将在此进行读写,默认 0 - `lim 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.nio.file.Path` - `public interface Path extends Comparable, Iterable, Watchable` - 不推荐使用 `Paths` 工具类,相关方法在 Path 接口中都有静态方法 - 代表系统相关的文件路径, 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.regex.Pattern - public final class Pattern implements java.io.Serializable - 正则表达式的编译表示 ## API ### 常量 flag - UNIX_LINES - 启用 UNIX 行模 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.regex.Matcher - public final class Matcher implements MatchResult - 通过解释 `Pattern` 对字符序列执行匹配操作的引擎 - 匹配器 - 关联方法 `Pattern.matches` ## 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(15) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.io.Reader` - `public abstract class Reader implements Readable, Closeable` ## API - read - `abstract int read(char[] cbuf, int off, int 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.io.OutputStream` - `public abstract class OutputStream implements Closeable, Flushable` - `FilterOutputStream` 是典型的装饰器设计模式,很多子类继承这个类,提供额 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.io.InputStream` - `public abstract class InputStream implements Closeable` - `FilterInputStream` 是典型的装饰器设计模式,很多子类继承这个类,提供额外的功能 ```java p 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(20) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.io.FileInputStream - public class FileInputStream extends InputStream - 提供附着在一个磁盘文件上的输入流 - 在 java.io 中的类都将相对路径名解释为以用户工作目录开始,可以通过调用 `Syste 阅读全文
posted @ 2023-08-29 17:04 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.net.URLConnection - public abstract class URLConnection - 如果想从某个 Web 资源获取更多信息,那么应该使用 URLConnection 类,通过它能够得到比基本的 URL 类更多的控制功能 ## API ### 阅读全文
posted @ 2023-08-29 17:03 流星<。)#)))≦ 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 92 下一页