Package org.eclipse.jgit.util

Examples of org.eclipse.jgit.util.RawCharSequence


    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.committer(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    final int e = RawParseUtils.nextLF(raw, b, '>');
    return new RawCharSequence(raw, b, e);
  }
View Full Code Here


  static RawCharSequence textFor(final RevCommit cmit) {
    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.commitMessage(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    return new RawCharSequence(raw, b, raw.length);
  }
View Full Code Here

    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.author(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    final int e = RawParseUtils.nextLF(raw, b, '>');
    return new RawCharSequence(raw, b, e);
  }
View Full Code Here

  static RawCharSequence textFor(final RevCommit cmit) {
    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.commitMessage(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    return new RawCharSequence(raw, b, raw.length);
  }
View Full Code Here

    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.author(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    final int e = RawParseUtils.nextLF(raw, b, '>');
    return new RawCharSequence(raw, b, e);
  }
View Full Code Here

    final byte[] raw = cmit.getRawBuffer();
    final int b = RawParseUtils.committer(raw, 0);
    if (b < 0)
      return RawCharSequence.EMPTY;
    final int e = RawParseUtils.nextLF(raw, b, '>');
    return new RawCharSequence(raw, b, e);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.util.RawCharSequence

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.