Codota Logo
MarshalOutputStream.getAnnotation
Code IndexAdd Codota to your IDE (free)

How to use
getAnnotation
method
in
net.jini.io.MarshalOutputStream

Best Java code snippets using net.jini.io.MarshalOutputStream.getAnnotation (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: xap/xap

/**
 * Annotates the stream descriptor for the class <code>cl</code>.
 *
 * <p><code>MarshalOutputStream</code> implements this method as follows:
 *
 * <p>This method invokes {@link RMIClassLoader#getClassAnnotation
 * RMIClassLoader.getClassAnnotation} with <code>cl</code> to get the appropriate class
 * annotation string value (possibly <code>null</code>), and then it invokes this stream's
 * {@link #writeAnnotation writeAnnotation} method with that string to record the annotation.
 *
 * @param cl the class to annotate
 * @throws IOException          if <code>writeAnnotation</code> throws an <code>IOException</code>
 * @throws NullPointerException if <code>cl</code> is <code>null</code>
 **/
protected void annotateClass(Class cl) throws IOException {
  writeAnnotation(getAnnotation(cl));
}
origin: xap/xap

/**
 * Annotates the stream descriptor for the proxy class <code>cl</code>.
 *
 * <p><code>MarshalOutputStream</code> implements this method as follows:
 *
 * <p>This method invokes {@link RMIClassLoader#getClassAnnotation
 * RMIClassLoader.getClassAnnotation} with <code>cl</code> to get the appropriate class
 * annotation string value (possibly <code>null</code>), and then it invokes this stream's
 * {@link #writeAnnotation writeAnnotation} method with that string to record the annotation.
 *
 * @param cl the proxy class to annotate
 * @throws IOException          if <code>writeAnnotation</code> throws an <code>IOException</code>
 * @throws NullPointerException if <code>cl</code> is <code>null</code>
 **/
protected void annotateProxyClass(Class cl) throws IOException {
  writeAnnotation(getAnnotation(cl));
}
net.jini.ioMarshalOutputStreamgetAnnotation

Javadoc

Returns the class CodeBase if needed or null.

Popular methods of MarshalOutputStream

  • writeObject
  • flush
  • <init>
  • close
  • writeAnnotation
    Writes a class annotation string value (possiblynull) to be read by a correspondingMarshalInputStrea
  • enableReplaceObject
  • writeLong

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • BoxLayout (javax.swing)
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