content: package android.support.v4.util;
  
  import android.util.Log;
  import java.io.Writer;
  
  public class LogWriter extends Writer {
    private StringBuilder mBuilder = new StringBuilder(128);
    
    private final String mTag;
    
    public LogWriter(String paramString) {
      this.mTag = paramString;
    }
    
    private void flushBuilder() {
      if (this.mBuilder.length() > 0) {
        Log.d(this.mTag, this.mBuilder.toString());
        StringBuilder stringBuilder = this.mBuilder;
        stringBuilder.delete(0, stringBuilder.length());
      } 
    }
    
    public void close() {
      flushBuilder();
    }
    
    public void flush() {
      flushBuilder();
    }
    
    public void write(char[] paramArrayOfchar, int paramInt1, int paramInt2) {
      for (byte b = 0; b < paramInt2; b++) {
        char c = paramArrayOfchar[paramInt1 + b];
        if (c == '\n') {
          flushBuilder();
        } else {
          this.mBuilder.append(c);
        } 
      } 
    }
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\v\\util\LogWriter.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */