congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
UserSessionDownload.getMessages
Code IndexAdd Tabnine to your IDE (free)

How to use
getMessages
method
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.UserSessionDownload

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.UserSessionDownload.getMessages (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.util/data-conversion

/**
 * If any message have been stored in the session, it prints a report.
 *
 * @param ps where the report should be written (eg. System.err).
 */
public void printMessageReport( PrintStream ps ) {
  if ( hasMessages() ) {
    List messages = getMessages();
    ps.println( "*******************************************************************" );
    ps.println( "***********************   M E S S A G E S   ***********************" );
    ps.println( "*******************************************************************" );
    int i = 1;
    for ( Iterator iterator = messages.iterator(); iterator.hasNext(); ) {
      String msg = (String) iterator.next();
      ps.println( "(" + ( i++ ) + ") " + msg );
    }
    ps.println( "___________________________________________________________________" );
    ps.println( messages.size() + " message" + ( messages.size() > 1 ? "s" : "" ) + "." );
    ps.println( "*******************************************************************" );
  } else {
    ps.println( "no message." );
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

/**
 * If any message have been stored in the session, it prints a report.
 *
 * @param ps where the report should be written (eg. System.err).
 */
public void printMessageReport( PrintStream ps ) {
  if ( hasMessages() ) {
    List messages = getMessages();
    ps.println( "*******************************************************************" );
    ps.println( "***********************   M E S S A G E S   ***********************" );
    ps.println( "*******************************************************************" );
    int i = 1;
    for ( Iterator iterator = messages.iterator(); iterator.hasNext(); ) {
      String msg = (String) iterator.next();
      ps.println( "(" + ( i++ ) + ") " + msg );
    }
    ps.println( "___________________________________________________________________" );
    ps.println( messages.size() + " message" + ( messages.size() > 1 ? "s" : "" ) + "." );
    ps.println( "*******************************************************************" );
  } else {
    ps.println( "no message." );
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

/**
 * If any message have been stored in the session, it prints a report.
 *
 * @param ps where the report should be written (eg. System.err).
 */
public void printMessageReport( PrintStream ps ) {
  if ( hasMessages() ) {
    List messages = getMessages();
    ps.println( "*******************************************************************" );
    ps.println( "***********************   M E S S A G E S   ***********************" );
    ps.println( "*******************************************************************" );
    int i = 1;
    for ( Iterator iterator = messages.iterator(); iterator.hasNext(); ) {
      String msg = (String) iterator.next();
      ps.println( "(" + ( i++ ) + ") " + msg );
    }
    ps.println( "___________________________________________________________________" );
    ps.println( messages.size() + " message" + ( messages.size() > 1 ? "s" : "" ) + "." );
    ps.println( "*******************************************************************" );
  } else {
    ps.println( "no message." );
  }
}
uk.ac.ebi.intact.application.dataConversion.psiDownloadUserSessionDownloadgetMessages

Popular methods of UserSessionDownload

  • <init>
  • addMessage
  • createElement
  • createTextNode
  • declareAlreadyDefined
    Declare in the session that the given protein has been already converted in XML.
  • filterObsoleteAnnotationTopic
    Load all CvTopic and check which one have been flagged 'obsolete'. Those CvTopic are automatically a
  • getAvailabilityListElement
    Return the availabilityList element under the entry of the PSI document. If the element doesn't exis
  • getCvObjectCache
  • getEntryElement
    Return the entry element of the PSI document. If the element doesn't exist, it is created.
  • getExperimentIdentifier
    Get a specific identifier for the given experiemnt. If an identifier had already been affected for t
  • getExperimentListElement
    Return the experimentList element under the entry of the PSI document. If the element doesn't exist,
  • getFeatureIdentifier
    Get a specific identifier for the given feature. If an identifier had already been affected for that
  • getExperimentListElement,
  • getFeatureIdentifier,
  • getHostOrganismCache,
  • getInteractionIdentifier,
  • getInteractionListElement,
  • getInteractorIdentifier,
  • getInteractorListElement,
  • getNextClusterIdSuffix,
  • getNextObjectIdentifier

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JList (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • CodeWhisperer alternatives
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