Codota Logo
Os.getnameinfo
Code IndexAdd Codota to your IDE (free)

How to use
getnameinfo
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.getnameinfo (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: robovm/robovm

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: robovm/robovm

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: robovm/robovm

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: MobiVM/robovm

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: ibinti/bugvm

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: com.bugvm/bugvm-rt

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: com.gluonhq/robovm-rt

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: FlexoVM/flexovm

/**
 * Returns the numeric representation of this IP address (such as "127.0.0.1").
 */
public String getHostAddress() {
  return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw.
}
origin: MobiVM/robovm

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: ibinti/bugvm

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: com.gluonhq/robovm-rt

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: com.mobidevelop.robovm/robovm-rt

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: com.bugvm/bugvm-rt

public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
origin: com.gluonhq/robovm-rt

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: MobiVM/robovm

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: ibinti/bugvm

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: com.mobidevelop.robovm/robovm-rt

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: com.bugvm/bugvm-rt

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
origin: FlexoVM/flexovm

private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException {
  BlockGuard.getThreadPolicy().onNetwork();
  try {
    String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD);
    return makeInetAddress(address.ipaddress.clone(), hostname);
  } catch (GaiException gaiException) {
    throw gaiException.rethrowAsUnknownHostException();
  }
}
libcore.ioOsgetnameinfo

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now