txtline.java

来自「最强手机阅读器Anyview3.0版的界面代码」· Java 代码 · 共 29 行

JAVA
29
字号
package com.ismyway.util;

////////////////////////////////////////
//
// 保存每一行的信息
// offest: 此行在文件中的偏移位置
// lenght: 此行的长度
// text : 此行的文本内容
// bytebuffer : 转码后的字节缓冲,仅在UNICODE和UTF-8分行时需要
//
// //////////////////////////////////////
public class TxtLine {
    public int offset = 0;
    public int length = 0;
    public String str = null;
    //public byte[] bytebuffer = null;

    public TxtLine() {
    	this.offset = 0;
        this.length = 0;
    }
    
    public TxtLine(int offset, int lenght, String str) {
        this.offset = offset;
        this.length = lenght;
        this.str = str;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?