📄 indentwriter.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: IndentWriter.java
package org.gudy.azureus2.core3.util;
import java.io.PrintWriter;
public class IndentWriter
{
private static final String INDENT_STRING = " ";
private PrintWriter pw;
private String indent;
private boolean force;
public IndentWriter(PrintWriter _pw)
{
indent = "";
pw = _pw;
}
public void println(String str)
{
pw.println((new StringBuilder()).append(indent).append(str).toString());
if (force)
pw.flush();
}
public void indent()
{
new StringBuilder();
this;
JVM INSTR dup_x1 ;
indent;
append();
" ";
append();
toString();
indent;
}
public void exdent()
{
if (indent.length() > 0)
indent = indent.substring(" ".length());
}
public void setForce(boolean b)
{
force = b;
}
public void close()
{
pw.close();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -