SCViewer/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveformDb.java

30 lines
918 B
Java
Raw Normal View History

2012-06-17 20:34:50 +02:00
/*******************************************************************************
* Copyright (c) 2014, 2015 MINRES Technologies GmbH and others.
2012-06-17 20:34:50 +02:00
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* MINRES Technologies GmbH - initial API and implementation
2012-06-17 20:34:50 +02:00
*******************************************************************************/
package com.minres.scviewer.database;
2012-06-17 19:53:05 +02:00
import java.io.File;
2012-06-17 19:53:05 +02:00
import java.util.List;
2015-01-06 17:14:16 +01:00
public interface IWaveformDb extends IHierNode {
2012-06-17 19:53:05 +02:00
2015-01-20 18:50:15 +01:00
public Long getMaxTime();
2012-06-17 19:53:05 +02:00
public IWaveform<? extends IWaveformEvent> getStreamByName(String name);
2015-01-01 23:17:32 +01:00
2015-01-20 18:50:15 +01:00
public List<IWaveform<?>> getAllWaves();
2012-06-17 19:53:05 +02:00
public boolean load(File inp) throws Exception;
2012-06-17 19:53:05 +02:00
public void clear();
}