Tabnine Logo
SortedConfigurationWriter.saveConvert
Code IndexAdd Tabnine to your IDE (free)

How to use
saveConvert
method
in
org.jfree.util.SortedConfigurationWriter

Best Java code snippets using org.jfree.util.SortedConfigurationWriter.saveConvert (Showing top 6 results out of 315)

origin: jfree/jcommon

  writeDescription(description, out);
saveConvert(key, ESCAPE_KEY, out);
out.write("=");
saveConvert(value, ESCAPE_VALUE, out);
out.write(END_OF_LINE);
origin: jfree/jcommon

/**
 * Writes a descriptive comment into the given print writer.
 *
 * @param text   the text to be written. If it contains more than
 *               one line, every line will be prepended by the comment character.
 * @param writer the writer that should receive the content.
 * @throws IOException if writing fails
 */
private void writeDescription(final String text, final Writer writer)
  throws IOException {
  // check if empty content ... this case is easy ...
  if (text.length() == 0) {
    return;
  }
  writer.write("# ");
  writer.write(END_OF_LINE);
  final LineBreakIterator iterator = new LineBreakIterator(text);
  while (iterator.hasNext()) {
    writer.write("# ");
    saveConvert((String) iterator.next(), ESCAPE_COMMENT, writer);
    writer.write(END_OF_LINE);
  }
}
origin: org.jfree/jcommon

/**
 * Writes a descriptive comment into the given print writer.
 *
 * @param text   the text to be written. If it contains more than
 *               one line, every line will be prepended by the comment character.
 * @param writer the writer that should receive the content.
 * @throws IOException if writing fails
 */
private void writeDescription(final String text, final Writer writer)
  throws IOException {
  // check if empty content ... this case is easy ...
  if (text.length() == 0) {
    return;
  }
  writer.write("# ");
  writer.write(END_OF_LINE);
  final LineBreakIterator iterator = new LineBreakIterator(text);
  while (iterator.hasNext()) {
    writer.write("# ");
    saveConvert((String) iterator.next(), ESCAPE_COMMENT, writer);
    writer.write(END_OF_LINE);
  }
}
origin: org.jfree/jcommon

  writeDescription(description, out);
saveConvert(key, ESCAPE_KEY, out);
out.write("=");
saveConvert(value, ESCAPE_VALUE, out);
out.write(END_OF_LINE);
origin: org.jfree/com.springsource.org.jfree

  writeDescription(description, out);
saveConvert(key, ESCAPE_KEY, out);
out.write("=");
saveConvert(value, ESCAPE_VALUE, out);
out.write(END_OF_LINE);
origin: org.jfree/com.springsource.org.jfree

/**
 * Writes a descriptive comment into the given print writer.
 *
 * @param text   the text to be written. If it contains more than
 *               one line, every line will be prepended by the comment character.
 * @param writer the writer that should receive the content.
 * @throws IOException if writing fails
 */
private void writeDescription(final String text, final Writer writer)
  throws IOException {
  // check if empty content ... this case is easy ...
  if (text.length() == 0) {
    return;
  }
  writer.write("# ");
  writer.write(END_OF_LINE);
  final LineBreakIterator iterator = new LineBreakIterator(text);
  while (iterator.hasNext()) {
    writer.write("# ");
    saveConvert((String) iterator.next(), ESCAPE_COMMENT, writer);
    writer.write(END_OF_LINE);
  }
}
org.jfree.utilSortedConfigurationWritersaveConvert

Javadoc

Performs the necessary conversion of an java string into a property escaped string.

Popular methods of SortedConfigurationWriter

  • getDescription
    Returns a description for the given key. This implementation returns null to indicate that no descri
  • save
    Saves the given configuration into a file specified by the given filename.
  • writeDescription
    Writes a descriptive comment into the given print writer.

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Collectors (java.util.stream)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text 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