Tabnine Logo
OSCMessage.isValidAddress
Code IndexAdd Tabnine to your IDE (free)

How to use
isValidAddress
method
in
com.illposed.osc.OSCMessage

Best Java code snippets using com.illposed.osc.OSCMessage.isValidAddress (Showing top 1 results out of 315)

origin: hoijui/JavaOSC

/**
 * Throws an exception if the given address is invalid.
 * We explicitly allow <code>null</code> here,
 * because we want to allow to set the address in a lazy fashion.
 * @param address to be checked for validity
 */
private static void checkAddress(final String address) {
  // NOTE We explicitly allow <code>null</code> here,
  //   because we want to allow to set in a lazy fashion.
  if ((address != null) && !isValidAddress(address)) {
    throw new IllegalArgumentException("Not a valid OSC address: " + address);
  }
}
com.illposed.oscOSCMessageisValidAddress

Javadoc

Checks whether a given string is a valid OSC Address Pattern.

Popular methods of OSCMessage

  • <init>
    Creates an OSCMessage with an address and arguments already initialized.
  • addArgument
    Add an argument to the list of arguments.
  • getArguments
    The arguments of this message.
  • getAddress
  • getByteArray
  • checkAddress
    Throws an exception if the given address is invalid. We explicitly allow null here, because we want
  • computeAddressByteArray
    Convert the address into a byte array. Used internally only.
  • computeArgumentsByteArray
    Convert the arguments into a byte array. Used internally only.
  • contentChanged
  • setAddress
    Set the address of this message.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Join (org.hibernate.mapping)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
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