Tabnine Logo
SuperProperties.propertyNames
Code IndexAdd Tabnine to your IDE (free)

How to use
propertyNames
method
in
org.apache.openejb.util.SuperProperties

Best Java code snippets using org.apache.openejb.util.SuperProperties.propertyNames (Showing top 6 results out of 315)

origin: org.apache.openejb/openejb-core

@Override
public void list(final PrintStream out) {
  if (out == null) {
    throw new NullPointerException();
  }
  final StringBuilder buffer = new StringBuilder(80);
  final Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    appendProperty(buffer, keys);
    out.println(buffer.toString());
    buffer.setLength(0);
  }
}
origin: org.apache.openejb/openejb-core

@Override
public void list(final PrintWriter writer) {
  if (writer == null) {
    throw new NullPointerException();
  }
  final StringBuilder buffer = new StringBuilder(80);
  final Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    appendProperty(buffer, keys);
    writer.println(buffer.toString());
    buffer.setLength(0);
  }
}
origin: org.apache.tomee/openejb-core

public void list(final PrintStream out) {
  if (out == null) {
    throw new NullPointerException();
  }
  final StringBuilder buffer = new StringBuilder(80);
  final Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    final String key = (String) keys.nextElement();
    buffer.append(key);
    buffer.append('=');
    String property = (String) get(key);
    if (property == null) {
      property = defaults.getProperty(key);
    }
    if (property.length() > 40) {
      buffer.append(property.substring(0, 37));
      buffer.append("...");
    } else {
      buffer.append(property);
    }
    out.println(buffer.toString());
    buffer.setLength(0);
  }
}
origin: org.apache.tomee/openejb-core

public void list(final PrintWriter writer) {
  if (writer == null) {
    throw new NullPointerException();
  }
  final StringBuilder buffer = new StringBuilder(80);
  final Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    final String key = (String) keys.nextElement();
    buffer.append(key);
    buffer.append('=');
    String property = (String) get(key);
    while (property == null) {
      property = defaults.getProperty(key);
    }
    if (property.length() > 40) {
      buffer.append(property.substring(0, 37));
      buffer.append("...");
    } else {
      buffer.append(property);
    }
    writer.println(buffer.toString());
    buffer.setLength(0);
  }
}
origin: org.apache.geronimo.ext.openejb/openejb-core

public void list(PrintStream out) {
  if (out == null) {
    throw new NullPointerException();
  }
  StringBuffer buffer = new StringBuffer(80);
  Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    String key = (String) keys.nextElement();
    buffer.append(key);
    buffer.append('=');
    String property = (String) get(key);
    if (property == null) {
      property = defaults.getProperty(key);
    }
    if (property.length() > 40) {
      buffer.append(property.substring(0, 37));
      buffer.append("...");
    } else {
      buffer.append(property);
    }
    out.println(buffer.toString());
    buffer.setLength(0);
  }
}
origin: org.apache.geronimo.ext.openejb/openejb-core

public void list(PrintWriter writer) {
  if (writer == null) {
    throw new NullPointerException();
  }
  StringBuffer buffer = new StringBuffer(80);
  Enumeration<?> keys = propertyNames();
  while (keys.hasMoreElements()) {
    String key = (String) keys.nextElement();
    buffer.append(key);
    buffer.append('=');
    String property = (String) get(key);
    while (property == null) {
      property = defaults.getProperty(key);
    }
    if (property.length() > 40) {
      buffer.append(property.substring(0, 37));
      buffer.append("...");
    } else {
      buffer.append(property);
    }
    writer.println(buffer.toString());
    buffer.setLength(0);
  }
}
org.apache.openejb.utilSuperPropertiespropertyNames

Popular methods of SuperProperties

  • <init>
    Constructs a new Properties object using the specified default properties.
  • caseInsensitive
  • entrySet
    Returns an unmodifiable view of the entries.
  • getProperty
  • putAll
  • containsKey
  • decodeEscapeChar
  • decodeNextCharacter
  • dumpComment
  • dumpString
  • get
  • getAttributes
    Searches for the attributes associated with the specified property. If the property is not found, lo
  • get,
  • getAttributes,
  • getComment,
  • getDocumentBuilder,
  • isEmpty,
  • keySet,
  • keys,
  • normalize,
  • put

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • CodeWhisperer alternatives
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