Tabnine Logo
StringUtil2.makeValidCdmObjectName
Code IndexAdd Tabnine to your IDE (free)

How to use
makeValidCdmObjectName
method
in
ucar.unidata.util.StringUtil2

Best Java code snippets using ucar.unidata.util.StringUtil2.makeValidCdmObjectName (Showing top 3 results out of 315)

origin: edu.ucar/cdm

/**
 * Create a valid CDM object name.
 * Control chars (< 0x20) are not allowed.
 * Trailing and leading blanks are not allowed and are stripped off.
 * A space is converted into an underscore "_".
 * A forward slash "/" is converted into an underscore "_".
 *
 * @param shortName from this name
 * @return valid CDM object name
 */
static public String makeValidCdmObjectName(String shortName) {
 if (shortName == null) return null;
 return StringUtil2.makeValidCdmObjectName(shortName);
}
origin: Unidata/thredds

/**
 * Create a valid CDM object name.
 * Control chars (< 0x20) are not allowed.
 * Trailing and leading blanks are not allowed and are stripped off.
 * A space is converted into an underscore "_".
 * A forward slash "/" is converted into an underscore "_".
 *
 * @param shortName from this name
 * @return valid CDM object name
 */
static public String makeValidCdmObjectName(String shortName) {
 if (shortName == null) return null;
 return StringUtil2.makeValidCdmObjectName(shortName);
}
origin: edu.ucar/netcdf

/**
 * Create a valid CDM object name.
 * Control chars (< 0x20) are not allowed.
 * Trailing and leading blanks are not allowed and are stripped off.
 * A space is converted into an underscore "_".
 * A forward slash "/" is converted into an underscore "_".
 *
 * @param shortName from this name
 * @return valid CDM object name
 */
static public String makeValidCdmObjectName(String shortName) {
 if (shortName == null) return null;
 return StringUtil2.makeValidCdmObjectName(shortName);
}
ucar.unidata.utilStringUtil2makeValidCdmObjectName

Popular methods of StringUtil2

  • replace
    Replace any of the characters from out with corresponding character from in
  • remove
    Remove any of the characters in out from sb
  • substitute
    Find all occurences of the "match" in original, and substitute the "subst" string, directly into the
  • cleanup
    Delete any non-printable characters
  • splitString
    Split a string on one or more whitespace. Cover for String.split, because who can remember regexp?
  • unescape
    This finds any '%xx' and converts to the equivalent char. Inverse of escape().
  • collapseWhitespace
    Collapse continuous whitespace into one single " ".
  • allow
    Replace any char not alphanumeric or in allowChars by replaceChar.
  • breakTextAtWords
    Break the given text into lines, respecting word boundaries (blank space).
  • escape
    Escape any char not alphanumeric or in okChars. Escape by replacing char with %xx (hex).
  • getTokens
  • padLeft
    Pad the given string with padString on the left up to the given length.
  • getTokens,
  • padLeft,
  • padRight,
  • quoteHtmlContent,
  • unreplace,
  • filter7bits,
  • match,
  • quoteXmlAttribute,
  • removeFromEnd

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Socket (java.net)
    Provides a client-side TCP socket.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best plugins for Eclipse
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