Example usage for weka.core WekaPackageManager establishCacheIfNeeded

List of usage examples for weka.core WekaPackageManager establishCacheIfNeeded

Introduction

In this page you can find the example usage for weka.core WekaPackageManager establishCacheIfNeeded.

Prototype

public static Exception establishCacheIfNeeded(PrintStream... progress) 

Source Link

Document

Establish the local copy of the package meta data if needed

Usage

From source file:adams.gui.menu.PackageManager.java

License:Open Source License

/**
 * Launches the functionality of the menu item.
 *///from w  ww .j a  va 2  s . c  o m
@Override
public void launch() {
    WekaPackageManager.establishCacheIfNeeded(new PrintStream(new ConsolePanelOutputStream(LoggingLevel.INFO)));
    createChildFrame(new weka.gui.PackageManager(), GUIHelper.getDefaultDialogDimension());
}