org.openjdk.jmh.generators.core

Interface GeneratorDestination

    • Method Detail

      • newResource

        Writer newResource(String resourcePath)                   throws IOException
        Returns the Writer for the given resource. Callers are responsible for closing Writers.
        Parameters:
        resourcePath - resource path
        Returns:
        writer usable to write the resource
        Throws:
        IOException - if something wacked happens
      • getResource

        Reader getResource(String resourcePath)                   throws IOException
        Returns the Reader for the given resource. Callers are responsible for closing Readers.
        Parameters:
        resourcePath - resource path
        Returns:
        reader usable to read the resource
        Throws:
        IOException - if something wacked happens
      • newClass

        Writer newClass(String className)                throws IOException
        Returns the Writer for the given class. Callers are responsible for closing Writers.
        Parameters:
        className - class name
        Returns:
        writer usable to write the resource
        Throws:
        IOException - if something wacked happens
      • printError

        void printError(String message)
        Print the error. Calling this method should not terminate anything.
        Parameters:
        message - error.
      • printError

        void printError(String message,              MetadataInfo element)
        Print the error. Calling this method should not terminate anything.
        Parameters:
        message - error.
        element - metadata element, to which this error is tailored
      • printError

        void printError(String message,              Throwable throwable)
        Print the error. Calling this method should not terminate anything.
        Parameters:
        message - error.
        throwable - exception causing the error
      • printWarning

        void printWarning(String message)
        Print the warning. Calling this method should not terminate anything.
        Parameters:
        message - warning.
      • printWarning

        void printWarning(String message,                MetadataInfo element)
        Print the warning. Calling this method should not terminate anything.
        Parameters:
        message - warning.
        element - metadata element, to which this error is tailored
      • printWarning

        void printWarning(String message,                Throwable throwable)
        Print the warning. Calling this method should not terminate anything.
        Parameters:
        message - warning.
        throwable - exception causing the error
      • printNote

        void printNote(String message)
        Print the informative message. Calling this method should not terminate anything.
        Parameters:
        message - message.

Copyright © 2012-2015 Oracle. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14