congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Tag.print
Code IndexAdd Tabnine to your IDE (free)

How to use
print
method
in
aQute.lib.tag.Tag

Best Java code snippets using aQute.lib.tag.Tag.print (Showing top 20 results out of 315)

origin: biz.aQute.bnd/biz.aQute.bndlib

public String compact() {
  StringWriter sw = new StringWriter();
  print(Integer.MIN_VALUE, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/bndlib

public String compact() {
  StringWriter sw = new StringWriter();
  print(Integer.MIN_VALUE, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute/bndlib

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
@Override
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
@Override
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/biz.aQute.repository

public String compact() {
  StringWriter sw = new StringWriter();
  print(Integer.MIN_VALUE, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/bndlib

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
@Override
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute/bnd

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
@Override
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute.bnd/biz.aQute.repository

/**
 * Return a string representation of this Tag and all its children
 * recursively.
 */
@Override
public String toString() {
  StringWriter sw = new StringWriter();
  print(0, new PrintWriter(sw));
  return sw.toString();
}
origin: biz.aQute/bndlib

@Override
public void write(OutputStream out) throws UnsupportedEncodingException {
  OutputStreamWriter ow = new OutputStreamWriter(out, "UTF-8");
  PrintWriter pw = new PrintWriter(ow);
  pw.println("<?xml version='1.1'?>");
  try {
    tag.print(0, pw);
  }
  finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/bndlib

@Override
public void write(OutputStream out) throws UnsupportedEncodingException {
  OutputStreamWriter ow = new OutputStreamWriter(out, "UTF-8");
  PrintWriter pw = new PrintWriter(ow);
  pw.println("<?xml version=\"1.0\"?>");
  try {
    tag.print(0, pw);
  }
  finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/bnd

@Override
public void write(OutputStream out) throws UnsupportedEncodingException {
  OutputStreamWriter ow = new OutputStreamWriter(out, "UTF-8");
  PrintWriter pw = new PrintWriter(ow);
  pw.println("<?xml version=\"1.0\"?>");
  try {
    tag.print(0, pw);
  }
  finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

@Override
public void write(OutputStream out) throws IOException {
  PrintWriter pw = IO.writer(out, UTF_8);
  pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
  try {
    tag.print(0, pw);
  } finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

@Override
public void write(OutputStream out) throws IOException {
  PrintWriter pw = IO.writer(out, UTF_8);
  pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
  try {
    tag.print(0, pw);
  } finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

@Override
public void write(OutputStream out) throws IOException {
  PrintWriter pw = IO.writer(out, UTF_8);
  pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
  try {
    tag.print(0, pw);
  } finally {
    pw.flush();
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

public void out(OutputStream out) throws IOException {
  try (Writer w = new OutputStreamWriter(out, StandardCharsets.UTF_8)) {
    PrintWriter pw = new PrintWriter(w);
    pw.println("<?xml version='1.0' encoding='UTF-8'?>");
    Tag tag = build();
    tag.print(1, pw);
  }
}
origin: biz.aQute.bnd/biz.aQute.repository

public void out(OutputStream out) throws IOException {
  try (Writer w = new OutputStreamWriter(out, StandardCharsets.UTF_8)) {
    PrintWriter pw = new PrintWriter(w);
    pw.println("<?xml version='1.0' encoding='UTF-8'?>");
    Tag tag = build();
    tag.print(1, pw);
  }
}
origin: biz.aQute/bnd

public void write(OutputStream out) throws IOException {
  try {
    finish();
  } catch (Exception e) {
    throw new RuntimeException(e);
  }
  PrintWriter pw = new PrintWriter(new OutputStreamWriter(out, "UTF-8"));
  pw.println("<?xml version='1.0'?>");
  metadata.print(0, pw);
  pw.flush();
}
origin: biz.aQute.bnd/biz.aQute.bndlib

@Override
public void write(OutputStream out) throws IOException {
  try {
    finish();
  } catch (Exception e) {
    throw new RuntimeException(e);
  }
  PrintWriter pw = IO.writer(out, UTF_8);
  pw.print("<?xml version='1.0' encoding='UTF-8'?>\n");
  metadata.print(0, pw);
  pw.flush();
}
origin: biz.aQute.bnd/biz.aQute.bnd

@Override
public void write(OutputStream out) throws IOException {
  try {
    finish();
  } catch (Exception e) {
    throw new RuntimeException(e);
  }
  PrintWriter pw = IO.writer(out, UTF_8);
  pw.print("<?xml version='1.0' encoding='UTF-8'?>\n");
  metadata.print(0, pw);
  pw.flush();
}
aQute.lib.tagTagprint

Javadoc

Print the tag formatted to a PrintWriter.

Popular methods of Tag

  • <init>
    Construct a new Tag with a name and a set of attributes. The attributes are given as ( name, value )
  • addAttribute
  • addContent
    Add a new content string.
  • escape
    Escape a string, do entity conversion.
  • findRecursiveAttribute
  • getAttribute
    Return the attribute value or a default if not defined.
  • getContentsAsString
    convenient method to get the contents in a StringBuilder.
  • getName
    Return the name of the tag.
  • getNameSpace
  • match
  • select
  • spaces
    Make spaces.
  • select,
  • spaces,
  • formatted,
  • computeArrayElementName,
  • convertDTO,
  • fromDTO,
  • getFields,
  • getPath,
  • invalid

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JFrame (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now