com.rapidminer.operator
Interface Saveable

All Known Subinterfaces:
FormulaProvider, Model, ViewModel
All Known Implementing Classes:
AbsoluteError, AbstractExampleSet, AbstractModel, AbstractMySVMModel, AdaBoostModel, AdditiveRegressionModel, AnovaCalculator.AnovaSignificanceTestResult, ANOVAMatrix, AreaUnderCurve, AssociationRules, AttributeBasedVotingModel, AttributeSelectionExampleSet, AttributeWeight, AttributeWeightedExampleSet, AttributeWeights, Averagable, AverageVector, BaggingModel, BayBoostModel, Binary2MultiClassModel, BinaryClassificationPerformance, CentroidClusterModel, ClassificationCostCriterion, ClusterModel, ConditionedExampleSet, ConjunctiveRuleModel, CorrelationCriterion, CrossEntropy, DataStatistics, DefaultModel, DendogramHierarchicalClusterModel, Dictionary, DimensionalityReducerModel, DiscretizationModel, DiscriminantModel, DistributionModel, EstimatedPerformance, EvoSVMModel, FastICAModel, FastMarginModel, FlatFuzzyClusterModel, FrequentItemSets, GHAModel, GPModel, GroupedModel, GSSModel, HeaderExampleSet, HierarchicalClusterModel, HyperModel, HyperplaneModel, IGSSResult, ImprovedNeuralNetModel, JMySVMModel, KernelDistributionModel, KernelLogisticRegressionModel, KernelModel, KernelPCAModel, KNNClassificationModel, KNNRegressionModel, LenientRelativeError, LibSVMModel, LiftParetoChart, LinearRegressionModel, LogisticLoss, LogisticRegressionModel, MappedExampleSet, Margin, MDLCriterion, MeasuredPerformance, MetaCostModel, MinMaxCriterion, MinMaxNormalizationModel, ModelViewExampleSet, MultiClassificationPerformance, MultiCriterionDecisionStumps.DecisionStumpModel, MultiModel, MultiModelByRegression, MyKLRModel, NeuralNetModel, NominalToBinominalModel, NonSpecialAttributesExampleSet, NormalizedAbsoluteError, NumericalMatrix, ParameterSet, PCAModel, PerformanceCriterion, PerformanceVector, PlattScalingModel, PolynomialRegressionModel, PredictionAverage, PredictionModel, PredictionTrendAccuracy, PreprocessingModel, ProportionNormalizationModel, RainflowMatrix, RankCorrelation, RelativeError, RelativeRegressionModel, RemappedExampleSet, ReplaceMissingExampleSet, ResultObjectAdapter, ROCComparison, RootMeanSquaredError, RootRelativeSquaredError, RuleModel, RuleSet, RunVector, RVMModel, SDEnsemble, SignificanceTestResult, SimilarityExampleSet, SimilarityMeasure, SimpleBinaryPredictionModel, SimpleClassificationError, SimpleCriterion, SimpleDistributionModel, SimpleExampleSet, SimpleNeuralNetModel, SimplePredictionModel, SimpleResultObject, SimpleVoteModel, SingleExampleExampleSet, SoftMarginLoss, SOMDimensionalityReductionModel, SortedExampleSet, SplittedExampleSet, SquaredCorrelationCriterion, SquaredError, StackingModel, StrictRelativeError, TextObject, Threshold, ThresholdModel, TransformedRegressionModel, TransitionGraph, TreeModel, TTestSignificanceTestOperator.TTestSignificanceTestResult, VectorRegressionModel, WeightedMultiClassPerformance, WekaAssociator, WekaClassifier, WekaClusterModel, ZTransformationModel

public interface Saveable

Interface for resultobjects that can be saved to disc. The ResultObjectAdapter automatically adds a save button for these objects.

Author:
Ingo Mierswa

Method Summary
 java.lang.String getExtension()
          Returns the default extension in file choosers.
 java.lang.String getFileDescription()
          Returns the file description used in file choosers.
 boolean isSavable()
          Indicates if this object is actually savable.
 void save(java.io.File file)
          Writes the object into the given file.
 

Method Detail

isSavable

boolean isSavable()
Indicates if this object is actually savable. Objects which return false here will not provide savability options, e.g. no Save button will be shown in the GUI.


save

void save(java.io.File file)
          throws java.io.IOException
Writes the object into the given file.

Throws:
java.io.IOException

getExtension

java.lang.String getExtension()
Returns the default extension in file choosers.


getFileDescription

java.lang.String getFileDescription()
Returns the file description used in file choosers.



Copyright © 2001-2009 by Rapid-I