Android StringBuilder Append appendLine(final StringBuilder s, final CharSequence line)

Here you can find the source of appendLine(final StringBuilder s, final CharSequence line)

Description

append Line

License

Open Source License

Declaration

public static StringBuilder appendLine(final StringBuilder s,
            final CharSequence line) 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

public class Main {
    public static StringBuilder appendLine(final StringBuilder s,
            final CharSequence line) {
        if (s.length() > 0) {
            s.append("\n");
        }//from  www . j a v a 2s . c  om
        s.append(line);
        return s;
    }
}

Related

  1. appendNormalisedWhitespace(StringBuilder accum, String string, boolean stripLeading)
  2. appendStr(char splitTag, Object... strs)
  3. byteToString(StringBuilder sb, byte b)
  4. addStartLine(Object aObject, StringBuilder aResult)
  5. appendByteAsHex(StringBuilder sb, byte b)