You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(11) |
Oct
(60) |
Nov
(68) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(10) |
Feb
(15) |
Mar
(30) |
Apr
(20) |
May
(32) |
Jun
(30) |
Jul
(61) |
Aug
(13) |
Sep
(14) |
Oct
(13) |
Nov
(28) |
Dec
(10) |
| 2005 |
Jan
(7) |
Feb
(5) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(15) |
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(20) |
Aug
(35) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <sa...@us...> - 2003-11-12 10:22:34
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg/server
In directory sc8-pr-cvs1:/tmp/cvs-serv5554/org/jrobin/mrtg/server
Modified Files:
Archiver.java Grapher.java Server.java
Log Message:
MRTD demo now uses RrdDbPool for maximum performance
Index: Archiver.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Archiver.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Archiver.java 10 Nov 2003 08:52:29 -0000 1.2
--- Archiver.java 12 Nov 2003 10:22:09 -0000 1.3
***************
*** 25,32 ****
package org.jrobin.mrtg.server;
! import org.jrobin.core.RrdDb;
! import org.jrobin.core.RrdDef;
! import org.jrobin.core.RrdException;
! import org.jrobin.core.Sample;
import org.jrobin.mrtg.Debug;
--- 25,29 ----
package org.jrobin.mrtg.server;
! import org.jrobin.core.*;
import org.jrobin.mrtg.Debug;
***************
*** 38,41 ****
--- 35,39 ----
private int sampleCount, badSavesCount, goodSavesCount;
private LinkedList queue = new LinkedList();
+ private static final RrdDbPool pool = RrdDbPool.getInstance();
public void run() {
***************
*** 58,65 ****
private void process(RawSample rawSample) {
- String rrdFile = getRrdFilename(rawSample);
RrdDb rrdDb = null;
try {
! rrdDb = openRrdFile(rrdFile);
Sample sample = rrdDb.createSample();
sample.setTime(rawSample.getTimestamp());
--- 56,62 ----
private void process(RawSample rawSample) {
RrdDb rrdDb = null;
try {
! rrdDb = openRrdFileFor(rawSample);
Sample sample = rrdDb.createSample();
sample.setTime(rawSample.getTimestamp());
***************
*** 69,91 ****
}
sample.update();
- rrdDb.close();
goodSavesCount++;
! Debug.print("Updated: " + rrdFile);
! } catch (Exception e) {
badSavesCount++;
! Debug.print("Error while storing sample to RRD file " + rrdFile + ": " + e);
! }
! finally {
! if(rrdDb != null) {
! try {
! rrdDb.close();
! } catch (IOException e) {
!
! }
}
}
}
! private String getRrdFilename(RawSample rawSample) {
return getRrdFilename(rawSample.getHost(), rawSample.getIfDescr());
}
--- 66,88 ----
}
sample.update();
goodSavesCount++;
! } catch (IOException e) {
badSavesCount++;
! e.printStackTrace();
! } catch (RrdException e) {
! badSavesCount++;
! e.printStackTrace();
! } finally {
! try {
! pool.release(rrdDb);
! } catch (IOException e) {
! e.printStackTrace();
! } catch (RrdException e) {
! e.printStackTrace();
}
}
}
! private String getRrdFilenameFor(RawSample rawSample) {
return getRrdFilename(rawSample.getHost(), rawSample.getIfDescr());
}
***************
*** 104,114 ****
}
! private RrdDb openRrdFile(String rrdFile) throws IOException, RrdException {
if(new File(rrdFile).exists()) {
! return new RrdDb(rrdFile);
}
else {
// create RRD file first
! RrdDef rrdDef = new RrdDef(rrdFile);
rrdDef.addDatasource("in", "COUNTER", 600, Double.NaN, Double.NaN);
rrdDef.addDatasource("out", "COUNTER", 600, Double.NaN, Double.NaN);
--- 101,115 ----
}
! private RrdDb openRrdFileFor(RawSample rawSample)
! throws IOException, RrdException {
! String rrdFile = getRrdFilenameFor(rawSample);
if(new File(rrdFile).exists()) {
! return pool.requestRrdDb(rrdFile);
}
else {
// create RRD file first
! final RrdDef rrdDef = new RrdDef(rrdFile);
! rrdDef.setStep(300);
! rrdDef.setStartTime(rawSample.getTimestamp() - 10);
rrdDef.addDatasource("in", "COUNTER", 600, Double.NaN, Double.NaN);
rrdDef.addDatasource("out", "COUNTER", 600, Double.NaN, Double.NaN);
***************
*** 126,130 ****
rrdDef.addArchive("MIN", 0.5, 288, 797);
Debug.print("Created: " + rrdFile);
! return new RrdDb(rrdDef);
}
}
--- 127,131 ----
rrdDef.addArchive("MIN", 0.5, 288, 797);
Debug.print("Created: " + rrdFile);
! return pool.requestRrdDb(rrdDef);
}
}
Index: Grapher.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Grapher.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Grapher.java 10 Nov 2003 08:52:29 -0000 1.2
--- Grapher.java 12 Nov 2003 10:22:09 -0000 1.3
***************
*** 59,88 ****
RrdGraph getRrdGraph(long start, long stop) throws MrtgException {
String filename = Archiver.getRrdFilename(host, ifDescr);
! RrdGraphDef gDef = new RrdGraphDef();
try {
! gDef.setImageBorder(Color.WHITE, 0); // Don't show border
! gDef.setTimePeriod(start, stop);
! gDef.setTitle(ifDescr + "@" + host);
! gDef.setVerticalLabel("transfer speed [bits/sec]");
! gDef.datasource("in", filename, "in", "AVERAGE");
! gDef.datasource("out", filename, "out", "AVERAGE");
! gDef.datasource("in8", "in,8,*");
! gDef.datasource("out8", "out,8,*");
! gDef.area("out8", Color.GREEN, "output traffic\n");
! gDef.line("in8", Color.BLUE, "input traffic");
! gDef.comment("\n");
! gDef.gprint("in8", "AVERAGE", "Average input: @7.2 @sbits/s");
! gDef.gprint("in8", "MAX", "Maximum input: @7.2 @Sbits/s\n");
! gDef.gprint("out8", "AVERAGE", "Average output:@7.2 @sbits/s");
! gDef.gprint("out8", "MAX", "Maximum output:@7.2 @Sbits/s\n");
! gDef.comment("\n");
! gDef.comment("Description on device: " + alias);
! gDef.comment("\n");
! gDef.comment("Graph from " + new Date(start * 1000L));
! gDef.comment("to " + new Date(stop * 1000L + 1));
! return new RrdGraph(gDef);
} catch (RrdException e) {
- throw new MrtgException(e);
- } catch (IOException e) {
throw new MrtgException(e);
}
--- 59,88 ----
RrdGraph getRrdGraph(long start, long stop) throws MrtgException {
String filename = Archiver.getRrdFilename(host, ifDescr);
! RrdGraph graph = new RrdGraph(true);
! RrdGraphDef graphDef = new RrdGraphDef();
try {
! graphDef.setImageBorder(Color.WHITE, 0); // Don't show border
! graphDef.setTimePeriod(start, stop);
! graphDef.setTitle(ifDescr + "@" + host);
! graphDef.setVerticalLabel("transfer speed [bits/sec]");
! graphDef.datasource("in", filename, "in", "AVERAGE");
! graphDef.datasource("out", filename, "out", "AVERAGE");
! graphDef.datasource("in8", "in,8,*");
! graphDef.datasource("out8", "out,8,*");
! graphDef.area("out8", Color.GREEN, "output traffic\n");
! graphDef.line("in8", Color.BLUE, "input traffic");
! graphDef.comment("\n");
! graphDef.gprint("in8", "AVERAGE", "Average input: @7.2 @sbits/s");
! graphDef.gprint("in8", "MAX", "Maximum input: @7.2 @Sbits/s\n");
! graphDef.gprint("out8", "AVERAGE", "Average output:@7.2 @sbits/s");
! graphDef.gprint("out8", "MAX", "Maximum output:@7.2 @Sbits/s\n");
! graphDef.comment("\n");
! graphDef.comment("Description on device: " + alias);
! graphDef.comment("\n");
! graphDef.comment("Graph from " + new Date(start * 1000L));
! graphDef.comment("to " + new Date(stop * 1000L + 1));
! graph.setGraphDef(graphDef);
! return graph;
} catch (RrdException e) {
throw new MrtgException(e);
}
Index: Server.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Server.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Server.java 10 Nov 2003 08:52:29 -0000 1.2
--- Server.java 12 Nov 2003 10:22:09 -0000 1.3
***************
*** 63,67 ****
private Server() throws MrtgException {
// set RrdDb locking mode
! RrdDb.setLockMode(RrdDb.WAIT_IF_LOCKED);
String hwFile = Config.getHardwareFile();
if(new File(hwFile).exists()) {
--- 63,67 ----
private Server() throws MrtgException {
// set RrdDb locking mode
! RrdDb.setLockMode(RrdDb.NO_LOCKS);
String hwFile = Config.getHardwareFile();
if(new File(hwFile).exists()) {
|
|
From: <cob...@us...> - 2003-11-11 11:44:16
|
Update of /cvsroot/jrobin/src/org/jrobin/graph
In directory sc8-pr-cvs1:/tmp/cvs-serv6702/src/org/jrobin/graph
Modified Files:
ValueGrid.java
Log Message:
bug fix, zero value range
Index: ValueGrid.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ValueGrid.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ValueGrid.java 7 Nov 2003 09:53:35 -0000 1.2
--- ValueGrid.java 11 Nov 2003 11:44:11 -0000 1.3
***************
*** 119,122 ****
--- 119,125 ----
// Determine nice axis grid
double shifted = Math.abs(upper - lower);
+ if ( shifted == 0 ) // Special case, no 'range' available
+ shifted = upper;
+
double mod = 1.0;
while ( shifted > 10 ) {
|
|
From: <cob...@us...> - 2003-11-11 11:44:16
|
Update of /cvsroot/jrobin/src
In directory sc8-pr-cvs1:/tmp/cvs-serv6702/src
Modified Files:
Demo.java
Log Message:
bug fix, zero value range
Index: Demo.java
===================================================================
RCS file: /cvsroot/jrobin/src/Demo.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Demo.java 10 Nov 2003 15:46:59 -0000 1.4
--- Demo.java 11 Nov 2003 11:44:12 -0000 1.5
***************
*** 91,94 ****
--- 91,95 ----
pw.println(sample.dump());
sample.update();
+
t += Math.random() * MAX_STEP + 1;
if(((++n) % 1000) == 0) {
|
|
From: <sa...@us...> - 2003-11-10 15:47:02
|
Update of /cvsroot/jrobin/src
In directory sc8-pr-cvs1:/tmp/cvs-serv10507
Modified Files:
Demo.java
Log Message:
Removed 'flaming' colors - the first demo should not be a trick shot!
Index: Demo.java
===================================================================
RCS file: /cvsroot/jrobin/src/Demo.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Demo.java 10 Nov 2003 08:52:27 -0000 1.3
--- Demo.java 10 Nov 2003 15:46:59 -0000 1.4
***************
*** 33,48 ****
import java.io.IOException;
import java.io.PrintWriter;
- import java.util.GregorianCalendar;
class Demo {
static final String HOME = Util.getJRobinDemoDirectory();
static final String FILE = "demo";
! static final GregorianCalendar START = new GregorianCalendar(2003, 4, 1);
! static final GregorianCalendar END = new GregorianCalendar(2003, 5, 1);
static final int MAX_STEP = 240;
- // increase this to get better flaming graph...
- static final int GRADIENT_COLOR_STEPS = 20;
-
public static void main(String[] args) throws RrdException, IOException {
// setup
--- 33,44 ----
import java.io.IOException;
import java.io.PrintWriter;
class Demo {
static final String HOME = Util.getJRobinDemoDirectory();
static final String FILE = "demo";
! static final long START = Util.getTimestamp(2003, 4, 1);
! static final long END = Util.getTimestamp(2003, 5, 1);
static final int MAX_STEP = 240;
public static void main(String[] args) throws RrdException, IOException {
// setup
***************
*** 51,56 ****
long startMillis = System.currentTimeMillis();
! long start = START.getTime().getTime() / 1000L;
! long end = END.getTime().getTime() / 1000L;
String rrdPath = getFullPath(FILE + ".rrd");
String xmlPath = getFullPath(FILE + ".xml");
--- 47,52 ----
long startMillis = System.currentTimeMillis();
! long start = START;
! long end = END;
String rrdPath = getFullPath(FILE + ".rrd");
String xmlPath = getFullPath(FILE + ".xml");
***************
*** 119,122 ****
--- 115,119 ----
println("==Creating RRD file " + rrdRestoredPath + " from XML file " + xmlPath);
RrdDb rrdRestoredDb = new RrdDb(rrdRestoredPath, xmlPath);
+
// close files
println("==Closing both RRD files");
***************
*** 124,128 ****
rrdRestoredDb.close();
! // creating graph
println("==Creating graph from the second file");
RrdGraphDef gDef = new RrdGraphDef();
--- 121,125 ----
rrdRestoredDb.close();
! // create graph
println("==Creating graph from the second file");
RrdGraphDef gDef = new RrdGraphDef();
***************
*** 134,142 ****
gDef.datasource("median", "sun,shade,+,2,/");
gDef.datasource("diff", "sun,shade,-,ABS,-1,*");
- // gradient color datasources
- for(int i = 1; i < GRADIENT_COLOR_STEPS; i++) {
- double factor = i / (double) GRADIENT_COLOR_STEPS;
- gDef.datasource("diff" + i, "diff," + factor + ",*");
- }
gDef.datasource("sine", "TIME," + start + ",-," + (end - start) +
",/,2,PI,*,*,SIN,1000,*");
--- 131,134 ----
***************
*** 144,154 ****
gDef.line("shade", Color.BLUE, "shade temp");
gDef.line("median", Color.MAGENTA, "median value@L");
! gDef.area("diff", Color.RED, "difference@r");
! // gradient color areas
! for(int i = GRADIENT_COLOR_STEPS - 1; i >= 1; i--) {
! gDef.area("diff" + i,
! new Color(255, 255 - 255 * i / GRADIENT_COLOR_STEPS, 0),
! null);
! }
gDef.line("sine", Color.CYAN, "sine function demo@L");
gDef.gprint("sun", "MAX", "maxSun = @3@s");
--- 136,141 ----
gDef.line("shade", Color.BLUE, "shade temp");
gDef.line("median", Color.MAGENTA, "median value@L");
! gDef.area("diff", Color.YELLOW, "difference@r");
! gDef.line("diff", Color.RED, null);
gDef.line("sine", Color.CYAN, "sine function demo@L");
gDef.gprint("sun", "MAX", "maxSun = @3@s");
|
Update of /cvsroot/jrobin/src/org/jrobin/core In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/core Modified Files: ArcDef.java ArcState.java Archive.java Datasource.java DsDef.java FetchData.java FetchPoint.java FetchRequest.java Header.java Robin.java RpnCalculator.java RrdDb.java RrdDbPool.java RrdDef.java RrdDouble.java RrdException.java RrdFile.java RrdInt.java RrdLong.java RrdString.java RrdUpdater.java Sample.java Util.java XmlReader.java XmlWriter.java Log Message: source code polishing, nothing special Index: ArcDef.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/ArcDef.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ArcDef.java 7 Nov 2003 09:53:35 -0000 1.2 --- ArcDef.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 37,44 **** * </ul> * <p>For the complete explanation of all archive definition parameters, see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a> * </p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ --- 37,44 ---- * </ul> * <p>For the complete explanation of all archive definition parameters, see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a> * </p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ *************** *** 57,61 **** * * <p>For the complete explanation of all archive definition parameters, see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a></p> * * @param consolFun Consolidation function. Allowed values are "AVERAGE", "MIN", --- 57,61 ---- * * <p>For the complete explanation of all archive definition parameters, see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a></p> * * @param consolFun Consolidation function. Allowed values are "AVERAGE", "MIN", Index: ArcState.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/ArcState.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ArcState.java 7 Nov 2003 08:23:18 -0000 1.1 --- ArcState.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 33,37 **** * internal arcihve states.<p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class ArcState implements RrdUpdater { --- 33,37 ---- * internal arcihve states.<p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class ArcState implements RrdUpdater { Index: Archive.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Archive.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Archive.java 7 Nov 2003 08:23:18 -0000 1.1 --- Archive.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 37,41 **** * each datasource). API (read-only) is provided to access each of theese parts.<p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class Archive implements RrdUpdater { --- 37,41 ---- * each datasource). API (read-only) is provided to access each of theese parts.<p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class Archive implements RrdUpdater { Index: Datasource.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Datasource.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Datasource.java 7 Nov 2003 08:23:18 -0000 1.1 --- Datasource.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 36,40 **** * JRobin framework to do it for you. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class Datasource implements RrdUpdater { --- 36,40 ---- * JRobin framework to do it for you. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class Datasource implements RrdUpdater { Index: DsDef.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/DsDef.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DsDef.java 7 Nov 2003 09:53:35 -0000 1.2 --- DsDef.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 38,44 **** * </ul> * <p>For the complete explanation of all source definition parameters, see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class DsDef { --- 38,44 ---- * </ul> * <p>For the complete explanation of all source definition parameters, see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class DsDef { *************** *** 56,60 **** * * <p>For the complete explanation of all source definition parameters, see RRDTool's ! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a></p> * * @param dsName Data source name. --- 56,60 ---- * * <p>For the complete explanation of all source definition parameters, see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a></p> * * @param dsName Data source name. Index: FetchData.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/FetchData.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FetchData.java 7 Nov 2003 08:23:18 -0000 1.1 --- FetchData.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: FetchPoint.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/FetchPoint.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FetchPoint.java 7 Nov 2003 08:23:18 -0000 1.1 --- FetchPoint.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 31,35 **** * method of the {@link org.jrobin.core.FetchRequest FetchRequest} class. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class FetchPoint { --- 31,35 ---- * method of the {@link org.jrobin.core.FetchRequest FetchRequest} class. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class FetchPoint { Index: FetchRequest.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/FetchRequest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FetchRequest.java 7 Nov 2003 09:53:35 -0000 1.2 --- FetchRequest.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 31,35 **** * Class to represent fetch request. For the complete explanation of all * fetch parameters consult RRDTool's ! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a>. * * You cannot create <code>FetchRequest</code> directly (no public constructor --- 31,35 ---- * Class to represent fetch request. For the complete explanation of all * fetch parameters consult RRDTool's ! * <a href="../../../../man/rrdfetch.html" target="man">rrdfetch man page</a>. * * You cannot create <code>FetchRequest</code> directly (no public constructor *************** *** 37,41 **** * createFetchRequest()} method of your {@link org.jrobin.core.RrdDb RrdDb} object. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class FetchRequest { --- 37,41 ---- * createFetchRequest()} method of your {@link org.jrobin.core.RrdDb RrdDb} object. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class FetchRequest { Index: Header.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Header.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Header.java 7 Nov 2003 08:23:18 -0000 1.1 --- Header.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 36,40 **** * does it for you.<p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a>* */ public class Header implements RrdUpdater { --- 36,40 ---- * does it for you.<p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a>* */ public class Header implements RrdUpdater { Index: Robin.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Robin.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Robin.java 7 Nov 2003 08:23:18 -0000 1.1 --- Robin.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 38,42 **** * Instead of it, Robin stores all values on the disk and reads them only when necessary. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class Robin implements RrdUpdater { --- 38,42 ---- * Instead of it, Robin stores all values on the disk and reads them only when necessary. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class Robin implements RrdUpdater { Index: RpnCalculator.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RpnCalculator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RpnCalculator.java 7 Nov 2003 08:23:18 -0000 1.1 --- RpnCalculator.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdDb.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDb.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdDb.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdDb.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 46,53 **** * basic RRDTool concepts. Good place to start is * <a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html">official RRD tutorial</a> ! * and relevant RRDTool man pages: <a href="/man/rrdcreate.html" target="man">rrdcreate</a>, ! * <a href="/man/rrdupdate.html" target="man">rrdupdate</a>, ! * <a href="/man/rrdfetch.html" target="man">rrdfetch</a> and ! * <a href="/man/rrdgraph.html" target="man">rrdgraph</a>. * For RRDTool's advanced graphing capabilities (RPN extensions), also supported in JRobin, * there is an excellent --- 46,53 ---- * basic RRDTool concepts. Good place to start is * <a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html">official RRD tutorial</a> ! * and relevant RRDTool man pages: <a href="../../../../man/rrdcreate.html" target="man">rrdcreate</a>, ! * <a href="../../../../man/rrdupdate.html" target="man">rrdupdate</a>, ! * <a href="../../../../man/rrdfetch.html" target="man">rrdfetch</a> and ! * <a href="../../../../man/rrdgraph.html" target="man">rrdgraph</a>. * For RRDTool's advanced graphing capabilities (RPN extensions), also supported in JRobin, * there is an excellent *************** *** 55,59 **** * </p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class RrdDb implements RrdUpdater { --- 55,59 ---- * </p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class RrdDb implements RrdUpdater { *************** *** 331,335 **** * @param fetchEnd Ending timestamp for fetch request. * @param resolution Fetch resolution (see RRDTool's ! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a> for an * explanation of this parameter. * @return Request object that should be used to actually fetch data from RRD file. --- 331,335 ---- * @param fetchEnd Ending timestamp for fetch request. * @param resolution Fetch resolution (see RRDTool's ! * <a href="../../../../man/rrdfetch.html" target="man">rrdfetch man page</a> for an * explanation of this parameter. * @return Request object that should be used to actually fetch data from RRD file. *************** *** 347,351 **** * method to actually fetch data from the RRD file. Data will be fetched with the smallest * possible resolution (see RRDTool's ! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a> * for the explanation of the resolution parameter).</p> * --- 347,351 ---- * method to actually fetch data from the RRD file. Data will be fetched with the smallest * possible resolution (see RRDTool's ! * <a href="../../../../man/rrdfetch.html" target="man">rrdfetch man page</a> * for the explanation of the resolution parameter).</p> * Index: RrdDbPool.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDbPool.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdDbPool.java 7 Nov 2003 08:23:18 -0000 1.1 --- RrdDbPool.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdDef.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDef.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdDef.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdDef.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 46,52 **** * <p>RrdDef provides API to set all these elements. For the complete explanation of all * RRD definition parameters, see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class RrdDef { --- 46,52 ---- * <p>RrdDef provides API to set all these elements. For the complete explanation of all * RRD definition parameters, see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class RrdDef { *************** *** 173,177 **** * heartbeat, minimal and maximal value. For the complete explanation of all data * source definition parameters see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * * @param dsName Data source name. --- 173,177 ---- * heartbeat, minimal and maximal value. For the complete explanation of all data * source definition parameters see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * * @param dsName Data source name. *************** *** 229,233 **** * number of steps and rows. For the complete explanation of all archive * definition parameters see RRDTool's ! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * @param consolFun Consolidation function. Valid values are "AVERAGE", * "MIN", "MAX" and "LAST" --- 229,233 ---- * number of steps and rows. For the complete explanation of all archive * definition parameters see RRDTool's ! * <a href="../../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p> * @param consolFun Consolidation function. Valid values are "AVERAGE", * "MIN", "MAX" and "LAST" Index: RrdDouble.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDouble.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdDouble.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdDouble.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdException.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdException.java 7 Nov 2003 08:23:18 -0000 1.1 --- RrdException.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 32,36 **** * (for disk I/O errors). * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class RrdException extends Exception { --- 32,36 ---- * (for disk I/O errors). * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class RrdException extends Exception { Index: RrdFile.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdFile.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdFile.java 7 Nov 2003 08:23:18 -0000 1.1 --- RrdFile.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 36,40 **** * <code>java.io.RandomAccessFile</code>. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class RrdFile { --- 36,40 ---- * <code>java.io.RandomAccessFile</code>. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class RrdFile { Index: RrdInt.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdInt.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdInt.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdInt.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdLong.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdLong.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdLong.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdLong.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdString.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdString.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdString.java 7 Nov 2003 09:53:35 -0000 1.2 --- RrdString.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdUpdater.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdUpdater.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdUpdater.java 7 Nov 2003 08:23:18 -0000 1.1 --- RrdUpdater.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 30,34 **** * a RRD file. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public interface RrdUpdater { --- 30,34 ---- * a RRD file. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public interface RrdUpdater { Index: Sample.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Sample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Sample.java 7 Nov 2003 09:53:35 -0000 1.2 --- Sample.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 33,37 **** * class are never created directly (no public constructor is provided). To learn more how * to update a RRD file, see RRDTool's ! * <a href="/man/rrdupdate.html" target="man">rrdupdate man page</a>. * * <p>To update a RRD file with JRobin use the following procedure:</p> --- 33,37 ---- * class are never created directly (no public constructor is provided). To learn more how * to update a RRD file, see RRDTool's ! * <a href="../../../../man/rrdupdate.html" target="man">rrdupdate man page</a>. * * <p>To update a RRD file with JRobin use the following procedure:</p> *************** *** 49,53 **** * 'unknown' values too, use <code>Double.NaN</code>.</p> * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class Sample { --- 49,53 ---- * 'unknown' values too, use <code>Double.NaN</code>.</p> * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class Sample { Index: Util.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/Util.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Util.java 7 Nov 2003 08:23:18 -0000 1.1 --- Util.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 36,40 **** * Class defines various utility functions used in JRobin. * ! * @author <a href="mailto:sa...@eu...">Sasa Markovic</a> */ public class Util { --- 36,40 ---- * Class defines various utility functions used in JRobin. * ! * @author <a href="mailto:sa...@jr...">Sasa Markovic</a> */ public class Util { Index: XmlReader.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/XmlReader.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XmlReader.java 7 Nov 2003 08:23:18 -0000 1.1 --- XmlReader.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: XmlWriter.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/XmlWriter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XmlWriter.java 7 Nov 2003 08:23:18 -0000 1.1 --- XmlWriter.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-10 08:53:00
|
Update of /cvsroot/jrobin/src/org/jrobin/graph In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/graph Modified Files: RrdGraphDef.java TimeAxisUnit.java TimeMarker.java ValueAxisUnit.java Log Message: source code polishing, nothing special Index: RrdGraphDef.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/graph/RrdGraphDef.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdGraphDef.java 7 Nov 2003 08:23:19 -0000 1.1 --- RrdGraphDef.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 48,52 **** * * <p>To learn more about RDTool's graphs see RRDTool's ! * <a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdgraph.html" target="man">rrdgraph man page</a>. This man page * is important: JRobin uses the same concept of graph sources definition (DEF directives) * and supports RPN extensions in complex datasource definitions (RRDTool's CDEF directives).</p> --- 48,52 ---- * * <p>To learn more about RDTool's graphs see RRDTool's ! * <a href="../../../../man/rrdgraph.html" target="man">rrdgraph man page</a>. This man page * is important: JRobin uses the same concept of graph sources definition (DEF directives) * and supports RPN extensions in complex datasource definitions (RRDTool's CDEF directives).</p> Index: TimeAxisUnit.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/graph/TimeAxisUnit.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TimeAxisUnit.java 7 Nov 2003 08:23:19 -0000 1.1 --- TimeAxisUnit.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: TimeMarker.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/graph/TimeMarker.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TimeMarker.java 7 Nov 2003 08:23:19 -0000 1.1 --- TimeMarker.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: ValueAxisUnit.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ValueAxisUnit.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ValueAxisUnit.java 7 Nov 2003 08:23:19 -0000 1.1 --- ValueAxisUnit.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-10 08:53:00
|
Update of /cvsroot/jrobin/src In directory sc8-pr-cvs1:/tmp/cvs-serv1858 Modified Files: ComplexDemo.java Demo.java Log Message: source code polishing, nothing special Index: ComplexDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/ComplexDemo.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ComplexDemo.java 7 Nov 2003 15:02:18 -0000 1.3 --- ComplexDemo.java 10 Nov 2003 08:52:27 -0000 1.4 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Demo.java =================================================================== RCS file: /cvsroot/jrobin/src/Demo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Demo.java 7 Nov 2003 08:23:18 -0000 1.2 --- Demo.java 10 Nov 2003 08:52:27 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
Update of /cvsroot/jrobin/src/org/jrobin/mrtg/client In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/mrtg/client Modified Files: AboutDialog.java Client.java EditLinkDialog.java EditRouterDialog.java GraphFrame.java HelpDialog.java HostDialog.java LinkInfo.java MrtgData.java Resources.java RouterInfo.java RpcClient.java ServerInfo.java SplashWindow.java TreeElementInfo.java TreeRenderer.java Util.java Log Message: source code polishing, nothing special Index: AboutDialog.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/AboutDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AboutDialog.java 7 Nov 2003 08:23:19 -0000 1.1 --- AboutDialog.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 35,39 **** class AboutDialog extends JDialog { static final String TITLE = "About JRobin"; ! static final String LOGO = "res/logo.png"; private static final int GAP = 3; --- 35,39 ---- class AboutDialog extends JDialog { static final String TITLE = "About JRobin"; ! static final String LOGO = "mrtg-res/logo.png"; private static final int GAP = 3; *************** *** 79,83 **** box.add(copyrightLabel); box.add(Box.createVerticalStrut(GAP)); ! JLabel emailLabel = new JLabel("sa...@eu..."); emailLabel.setHorizontalAlignment(JLabel.CENTER); emailLabel.setAlignmentX(0.5F); --- 79,83 ---- box.add(copyrightLabel); box.add(Box.createVerticalStrut(GAP)); ! JLabel emailLabel = new JLabel("sa...@jr..."); emailLabel.setHorizontalAlignment(JLabel.CENTER); emailLabel.setAlignmentX(0.5F); Index: Client.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/Client.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Client.java 7 Nov 2003 15:02:18 -0000 1.2 --- Client.java 10 Nov 2003 08:52:29 -0000 1.3 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 41,45 **** static final String SUBTITLE = "http://www.jrobin.org"; static final String COPYRIGHT = "Copyright \u00A9 2003 Sasa Markovic"; ! static final String ICON = "res/icon.png"; static Dimension MAIN_TREE_SIZE = new Dimension(320, 400); --- 41,45 ---- static final String SUBTITLE = "http://www.jrobin.org"; static final String COPYRIGHT = "Copyright \u00A9 2003 Sasa Markovic"; ! static final String ICON = "mrtg-res/icon.png"; static Dimension MAIN_TREE_SIZE = new Dimension(320, 400); Index: EditLinkDialog.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/EditLinkDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EditLinkDialog.java 7 Nov 2003 08:23:19 -0000 1.1 --- EditLinkDialog.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: EditRouterDialog.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/EditRouterDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EditRouterDialog.java 7 Nov 2003 08:23:19 -0000 1.1 --- EditRouterDialog.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: GraphFrame.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/GraphFrame.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GraphFrame.java 7 Nov 2003 08:23:19 -0000 1.1 --- GraphFrame.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: HelpDialog.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/HelpDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpDialog.java 7 Nov 2003 08:23:19 -0000 1.1 --- HelpDialog.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 35,39 **** class HelpDialog extends JDialog { static final String TITLE = "Help"; ! static final String HTML = "res/help.html"; static final Dimension SIZE = new Dimension(600, 300); --- 35,39 ---- class HelpDialog extends JDialog { static final String TITLE = "Help"; ! static final String HTML = "mrtg-res/help.html"; static final Dimension SIZE = new Dimension(600, 300); Index: HostDialog.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/HostDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HostDialog.java 7 Nov 2003 08:23:19 -0000 1.1 --- HostDialog.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: LinkInfo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/LinkInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LinkInfo.java 7 Nov 2003 08:23:19 -0000 1.1 --- LinkInfo.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: MrtgData.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/MrtgData.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MrtgData.java 7 Nov 2003 08:23:19 -0000 1.1 --- MrtgData.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Resources.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/Resources.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Resources.java 7 Nov 2003 08:23:19 -0000 1.1 --- Resources.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RouterInfo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/RouterInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RouterInfo.java 7 Nov 2003 08:23:19 -0000 1.1 --- RouterInfo.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RpcClient.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/RpcClient.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RpcClient.java 7 Nov 2003 08:23:19 -0000 1.1 --- RpcClient.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: ServerInfo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/ServerInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServerInfo.java 7 Nov 2003 08:23:19 -0000 1.1 --- ServerInfo.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: SplashWindow.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/SplashWindow.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SplashWindow.java 7 Nov 2003 08:23:19 -0000 1.1 --- SplashWindow.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 41,45 **** JLabel imageLabel = new JLabel(); try { ! imageLabel.setIcon(Resources.getImageIcon("res/logo.png")); } catch (MrtgException e) { // NOP --- 41,45 ---- JLabel imageLabel = new JLabel(); try { ! imageLabel.setIcon(Resources.getImageIcon("mrtg-res/logo.png")); } catch (MrtgException e) { // NOP Index: TreeElementInfo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/TreeElementInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TreeElementInfo.java 7 Nov 2003 08:23:19 -0000 1.1 --- TreeElementInfo.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: TreeRenderer.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/TreeRenderer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TreeRenderer.java 7 Nov 2003 08:23:19 -0000 1.1 --- TreeRenderer.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. *************** *** 41,49 **** static { try { ! MRTG_ICON = Resources.getImageIcon("res/mrtg.png"); ! ROUTER_ICON = Resources.getImageIcon("res/router.png"); ! LINK_ICON = Resources.getImageIcon("res/link.png"); ! INACTIVE_ROUTER_ICON = Resources.getImageIcon("res/router_inactive.png"); ! INACTIVE_LINK_ICON = Resources.getImageIcon("res/link_inactive.png"); } catch (MrtgException e) { e.printStackTrace(); --- 41,49 ---- static { try { ! MRTG_ICON = Resources.getImageIcon("mrtg-res/mrtg.png"); ! ROUTER_ICON = Resources.getImageIcon("mrtg-res/router.png"); ! LINK_ICON = Resources.getImageIcon("mrtg-res/link.png"); ! INACTIVE_ROUTER_ICON = Resources.getImageIcon("mrtg-res/router_inactive.png"); ! INACTIVE_LINK_ICON = Resources.getImageIcon("mrtg-res/link_inactive.png"); } catch (MrtgException e) { e.printStackTrace(); Index: Util.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/Util.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Util.java 7 Nov 2003 08:23:19 -0000 1.1 --- Util.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-10 08:52:34
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg/server In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/mrtg/server Modified Files: Archiver.java Collector.java Config.java Grapher.java Hardware.java Link.java RawSample.java Router.java RpcServer.java Scheduler.java Server.java SnmpCommunicator.java Log Message: source code polishing, nothing special Index: Archiver.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Archiver.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Archiver.java 7 Nov 2003 08:23:19 -0000 1.1 --- Archiver.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Collector.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Collector.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Collector.java 7 Nov 2003 08:23:19 -0000 1.1 --- Collector.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Config.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Config.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Config.java 7 Nov 2003 08:23:19 -0000 1.1 --- Config.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Grapher.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Grapher.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Grapher.java 7 Nov 2003 08:23:19 -0000 1.1 --- Grapher.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Hardware.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Hardware.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Hardware.java 7 Nov 2003 08:23:19 -0000 1.1 --- Hardware.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Link.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Link.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Link.java 7 Nov 2003 08:23:19 -0000 1.1 --- Link.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RawSample.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/RawSample.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RawSample.java 7 Nov 2003 08:23:19 -0000 1.1 --- RawSample.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Router.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Router.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Router.java 7 Nov 2003 08:23:20 -0000 1.1 --- Router.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RpcServer.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/RpcServer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RpcServer.java 7 Nov 2003 08:23:20 -0000 1.1 --- RpcServer.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Scheduler.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Scheduler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Scheduler.java 7 Nov 2003 08:23:20 -0000 1.1 --- Scheduler.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: Server.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/Server.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Server.java 7 Nov 2003 08:23:20 -0000 1.1 --- Server.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: SnmpCommunicator.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/server/SnmpCommunicator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SnmpCommunicator.java 7 Nov 2003 08:23:20 -0000 1.1 --- SnmpCommunicator.java 10 Nov 2003 08:52:29 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-10 08:52:33
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/mrtg Modified Files: Debug.java MrtgConstants.java MrtgException.java Log Message: source code polishing, nothing special Index: Debug.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/Debug.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Debug.java 7 Nov 2003 08:23:19 -0000 1.1 --- Debug.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: MrtgConstants.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgConstants.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MrtgConstants.java 7 Nov 2003 08:23:19 -0000 1.1 --- MrtgConstants.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: MrtgException.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MrtgException.java 7 Nov 2003 15:02:18 -0000 1.3 --- MrtgException.java 10 Nov 2003 08:52:28 -0000 1.4 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-10 08:52:33
|
Update of /cvsroot/jrobin/src/org/jrobin/inspector In directory sc8-pr-cvs1:/tmp/cvs-serv1858/org/jrobin/inspector Modified Files: ArchiveTableModel.java DataTableModel.java DatasourceTableModel.java HeaderTableModel.java InspectorModel.java MainTreeModel.java RrdInspector.java RrdNode.java Log Message: source code polishing, nothing special Index: ArchiveTableModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/ArchiveTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ArchiveTableModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- ArchiveTableModel.java 10 Nov 2003 08:52:27 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: DataTableModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/DataTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DataTableModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- DataTableModel.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: DatasourceTableModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/DatasourceTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DatasourceTableModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- DatasourceTableModel.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: HeaderTableModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/HeaderTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HeaderTableModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- HeaderTableModel.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: InspectorModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/InspectorModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InspectorModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- InspectorModel.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: MainTreeModel.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/MainTreeModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MainTreeModel.java 7 Nov 2003 08:23:19 -0000 1.1 --- MainTreeModel.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdInspector.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/RrdInspector.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdInspector.java 7 Nov 2003 08:23:19 -0000 1.1 --- RrdInspector.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. Index: RrdNode.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/inspector/RrdNode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RrdNode.java 7 Nov 2003 08:23:19 -0000 1.1 --- RrdNode.java 10 Nov 2003 08:52:28 -0000 1.2 *************** *** 3,8 **** * ============================================================ * ! * Project Info: http://www.sourceforge.net/projects/jrobin ! * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. --- 3,8 ---- * ============================================================ * ! * Project Info: http://www.jrobin.org ! * Project Lead: Sasa Markovic (sa...@jr...); * * (C) Copyright 2003, by Sasa Markovic. |
|
From: <sa...@us...> - 2003-11-07 15:02:22
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg
In directory sc8-pr-cvs1:/tmp/cvs-serv11147/org/jrobin/mrtg
Modified Files:
MrtgException.java
Log Message:
minor code changes
Index: MrtgException.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MrtgException.java 7 Nov 2003 09:53:35 -0000 1.2
--- MrtgException.java 7 Nov 2003 15:02:18 -0000 1.3
***************
*** 26,32 ****
package org.jrobin.mrtg;
! import org.jrobin.core.RrdException;
!
! public class MrtgException extends RrdException {
public MrtgException(String cause) {
super(cause);
--- 26,30 ----
package org.jrobin.mrtg;
! public class MrtgException extends Exception {
public MrtgException(String cause) {
super(cause);
|
|
From: <sa...@us...> - 2003-11-07 15:02:22
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg/client
In directory sc8-pr-cvs1:/tmp/cvs-serv11147/org/jrobin/mrtg/client
Modified Files:
Client.java
Log Message:
minor code changes
Index: Client.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/Client.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Client.java 7 Nov 2003 08:23:19 -0000 1.1
--- Client.java 7 Nov 2003 15:02:18 -0000 1.2
***************
*** 38,43 ****
class Client extends JFrame {
! static final String TITLE = "JRobin-MRTG client 1.1.0";
! static final String SUBTITLE = "http://jrobin.sourceforge.net";
static final String COPYRIGHT = "Copyright \u00A9 2003 Sasa Markovic";
static final String ICON = "res/icon.png";
--- 38,43 ----
class Client extends JFrame {
! static final String TITLE = "JRobin-MRTG client 1.2.0";
! static final String SUBTITLE = "http://www.jrobin.org";
static final String COPYRIGHT = "Copyright \u00A9 2003 Sasa Markovic";
static final String ICON = "res/icon.png";
|
|
From: <sa...@us...> - 2003-11-07 15:02:21
|
Update of /cvsroot/jrobin/src
In directory sc8-pr-cvs1:/tmp/cvs-serv11147
Modified Files:
ComplexDemo.java
Log Message:
minor code changes
Index: ComplexDemo.java
===================================================================
RCS file: /cvsroot/jrobin/src/ComplexDemo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ComplexDemo.java 7 Nov 2003 08:23:18 -0000 1.2
--- ComplexDemo.java 7 Nov 2003 15:02:18 -0000 1.3
***************
*** 153,157 ****
// Create ftp graph for a month
! println("-- Creating graph 3: complexdemo3.png");
start = new GregorianCalendar(2003, 7, 19, 12, 00);
stop = new GregorianCalendar(2003, 7, 20, 12, 00);
--- 153,157 ----
// Create ftp graph for a month
! println("-- Creating graph 3");
start = new GregorianCalendar(2003, 7, 19, 12, 00);
stop = new GregorianCalendar(2003, 7, 20, 12, 00);
|
|
From: <cob...@us...> - 2003-11-07 14:42:06
|
Update of /cvsroot/jrobin/src/org/jrobin/graph
In directory sc8-pr-cvs1:/tmp/cvs-serv7373/src/org/jrobin/graph
Modified Files:
ValueFormatter.java
Log Message:
fixed uniform value scaling
Index: ValueFormatter.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ValueFormatter.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ValueFormatter.java 7 Nov 2003 08:23:19 -0000 1.1
--- ValueFormatter.java 7 Nov 2003 14:42:02 -0000 1.2
***************
*** 110,113 ****
--- 110,116 ----
void setScaling( boolean normalScale, boolean uniformScale )
{
+ if ( !uniformScale )
+ scaleIndex = NO_SCALE;
+
if ( fixedIndex >= 0 ) {
scale = true;
***************
*** 116,121 ****
else {
scale = (normalScale || uniformScale);
- if ( !uniformScale )
- scaleIndex = NO_SCALE;
}
}
--- 119,122 ----
***************
*** 156,162 ****
String getScaledValue()
{
! scaleValue( scaleIndex );
long intVal = new Double( scaledValue ).longValue();
if ( intVal == scaledValue )
return "" + intVal;
--- 157,166 ----
String getScaledValue()
{
! int tsv = scaleIndex;
! scaleValue( tsv );
long intVal = new Double( scaledValue ).longValue();
+ scaleIndex = tsv;
+
if ( intVal == scaledValue )
return "" + intVal;
***************
*** 219,222 ****
--- 223,227 ----
this.prefix = PREFIXES[i];
this.scaledValue = value / scaleValues[i];
+ this.scaleIndex = i;
return;
}
|
Update of /cvsroot/jrobin/src/org/jrobin/graph
In directory sc8-pr-cvs1:/tmp/cvs-serv27255/org/jrobin/graph
Modified Files:
Cdef.java ChartPanel.java Def.java GifEncoder.java
Grapher.java JpegImageWriteParam.java RrdGraph.java
ValueGrid.java
Log Message:
some javadoc fixed, minor code changes
Index: Cdef.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Cdef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Cdef.java 7 Nov 2003 08:23:19 -0000 1.1
--- Cdef.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 187,191 ****
* Sets the value of a specific datapoint for this Cdef.
* @param pos Position (index in the value table) of the new datapoint.
! * @param time Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
--- 187,191 ----
* Sets the value of a specific datapoint for this Cdef.
* @param pos Position (index in the value table) of the new datapoint.
! * @param timestamp Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
Index: ChartPanel.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ChartPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ChartPanel.java 7 Nov 2003 08:23:19 -0000 1.1
--- ChartPanel.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 41,45 ****
this.chart = chart;
}
!
public void paintComponent( Graphics g )
{
--- 41,49 ----
this.chart = chart;
}
!
! /**
! * Overrides inhereted <code>paintComponent()</code> method from the base class.
! * @param g Graphics object
! */
public void paintComponent( Graphics g )
{
Index: Def.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Def.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Def.java 7 Nov 2003 08:23:19 -0000 1.1
--- Def.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 54,58 ****
* Sets the value of a specific datapoint for this Def.
* @param pos Position (index in the value table) of the new datapoint.
! * @param time Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
--- 54,58 ----
* Sets the value of a specific datapoint for this Def.
* @param pos Position (index in the value table) of the new datapoint.
! * @param timestamp Timestamp of the new datapoint in number of seconds.
* @param val Double value of the new datapoint.
*/
Index: GifEncoder.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/GifEncoder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** GifEncoder.java 7 Nov 2003 08:23:19 -0000 1.1
--- GifEncoder.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 1,2 ****
--- 1,31 ----
+ /* ============================================================
+ * JRobin : Pure java implementation of RRDTool's functionality
+ * ============================================================
+ *
+ * Project Info: http://www.jrobin.org
+ * Project Lead: Sasa Markovic (sa...@jr...)
+ *
+ * Developers: Sasa Markovic (sa...@jr...)
+ * Arne Vandamme (cob...@jr...)
+ *
+ * (C) Copyright 2003, by Sasa Markovic.
+ *
+ * This library is free software; you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation;
+ * either version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with this
+ * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+ /*
+ * GifEncoder from J.M.G. Elliott
+ * http://jmge.net/java/gifenc/
+ */
package org.jrobin.graph;
***************
*** 6,13 ****
import java.util.Vector;
! // thanks to J. M. G. Elliott
! // http://jmge.net/java/gifenc/
!
! class GifEncoder
{
private Dimension dispDim = new Dimension(0, 0);
--- 35,39 ----
import java.util.Vector;
! class GifEncoder
{
private Dimension dispDim = new Dimension(0, 0);
Index: Grapher.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/Grapher.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Grapher.java 7 Nov 2003 08:23:19 -0000 1.1
--- Grapher.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 40,44 ****
import java.awt.image.BufferedImage;
- import org.jrobin.core.Util;
import org.jrobin.core.RrdDb;
import org.jrobin.core.RrdException;
--- 40,43 ----
***************
*** 343,347 ****
/**
! * Plots all datasources on the graph, uses all values gathered in {@link #CalculateSeries() }.
* @param graphics Handle of a Graphics2D context to draw on.
* @throws RrdException Thrown in case of a JRobin specific error.
--- 342,346 ----
/**
! * Plots all datasources on the graph, uses all values gathered in {@link #calculateSeries() }.
* @param graphics Handle of a Graphics2D context to draw on.
* @throws RrdException Thrown in case of a JRobin specific error.
Index: JpegImageWriteParam.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/JpegImageWriteParam.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** JpegImageWriteParam.java 7 Nov 2003 08:23:19 -0000 1.1
--- JpegImageWriteParam.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 31,35 ****
*/
import java.util.Locale;
! import javax.imageio.plugins.jpeg.JPEGImageWriteParam;;
class JpegImageWriteParam extends JPEGImageWriteParam
--- 31,35 ----
*/
import java.util.Locale;
! import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
class JpegImageWriteParam extends JPEGImageWriteParam
Index: RrdGraph.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/RrdGraph.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdGraph.java 7 Nov 2003 08:23:19 -0000 1.1
--- RrdGraph.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 41,45 ****
import java.awt.image.BufferedImage;
- import org.jrobin.core.Util;
import org.jrobin.core.RrdDb;
import org.jrobin.core.RrdDbPool;
--- 41,44 ----
***************
*** 243,248 ****
/**
* Returns graph with default chart dimensions (400 by 100) as an array of PNG bytes.
- * @param width Width of the chart area in pixels.
- * @param height Height of the chart area in pixels.
* @return Array of PNG bytes.
* @throws IOException Thrown in case of I/O error.
--- 242,245 ----
Index: ValueGrid.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/ValueGrid.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ValueGrid.java 7 Nov 2003 08:23:19 -0000 1.1
--- ValueGrid.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 49,55 ****
* unit specification. The grid can also be specified to be rigid, to prevent
* auto scaling of the displayed value range.
! * @param rigid True if the grid is rigid, false if not.
! * @param lower Lower value of the value range.
! * @param upper Upper value of the value range.
* @param vAxis ValueAxisUnit specified to determine the grid lines, if the given
* ValueAxisUnit is null, one will be automatically determined.
--- 49,55 ----
* unit specification. The grid can also be specified to be rigid, to prevent
* auto scaling of the displayed value range.
! * @param gr Grid range object.
! * @param low Lower value of the value range.
! * @param up Upper value of the value range.
* @param vAxis ValueAxisUnit specified to determine the grid lines, if the given
* ValueAxisUnit is null, one will be automatically determined.
|
Update of /cvsroot/jrobin/src/org/jrobin/core
In directory sc8-pr-cvs1:/tmp/cvs-serv27255/org/jrobin/core
Modified Files:
ArcDef.java DsDef.java FetchRequest.java RrdDb.java
RrdDef.java RrdDouble.java RrdInt.java RrdLong.java
RrdString.java Sample.java
Log Message:
some javadoc fixed, minor code changes
Index: ArcDef.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/ArcDef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ArcDef.java 7 Nov 2003 08:23:18 -0000 1.1
--- ArcDef.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 37,41 ****
* </ul>
* <p>For the complete explanation of all archive definition parameters, see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a>
* </p>
*
--- 37,41 ----
* </ul>
* <p>For the complete explanation of all archive definition parameters, see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>
* </p>
*
***************
*** 57,61 ****
*
* <p>For the complete explanation of all archive definition parameters, see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a></p>
*
* @param consolFun Consolidation function. Allowed values are "AVERAGE", "MIN",
--- 57,61 ----
*
* <p>For the complete explanation of all archive definition parameters, see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a></p>
*
* @param consolFun Consolidation function. Allowed values are "AVERAGE", "MIN",
Index: DsDef.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/DsDef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DsDef.java 7 Nov 2003 08:23:18 -0000 1.1
--- DsDef.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 38,42 ****
* </ul>
* <p>For the complete explanation of all source definition parameters, see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @author <a href="mailto:sa...@eu...">Sasa Markovic</a>
--- 38,42 ----
* </ul>
* <p>For the complete explanation of all source definition parameters, see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @author <a href="mailto:sa...@eu...">Sasa Markovic</a>
Index: FetchRequest.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/FetchRequest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FetchRequest.java 7 Nov 2003 08:23:18 -0000 1.1
--- FetchRequest.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 31,35 ****
* Class to represent fetch request. For the complete explanation of all
* fetch parameters consult RRDTool's
! * <a href="../../../man/rrdfetch.html" target="man">rrdfetch man page</a>.
*
* You cannot create <code>FetchRequest</code> directly (no public constructor
--- 31,35 ----
* Class to represent fetch request. For the complete explanation of all
* fetch parameters consult RRDTool's
! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a>.
*
* You cannot create <code>FetchRequest</code> directly (no public constructor
Index: RrdDb.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDb.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdDb.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdDb.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 46,53 ****
* basic RRDTool concepts. Good place to start is
* <a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html">official RRD tutorial</a>
! * and relevant RRDTool man pages: <a href="../../../man/rrdcreate.html" target="man">rrdcreate</a>,
! * <a href="../../../man/rrdupdate.html" target="man">rrdupdate</a>,
! * <a href="../../../man/rrdfetch.html" target="man">rrdfetch</a> and
! * <a href="../../../man/rrdgraph.html" target="man">rrdgraph</a>.
* For RRDTool's advanced graphing capabilities (RPN extensions), also supported in JRobin,
* there is an excellent
--- 46,53 ----
* basic RRDTool concepts. Good place to start is
* <a href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html">official RRD tutorial</a>
! * and relevant RRDTool man pages: <a href="/man/rrdcreate.html" target="man">rrdcreate</a>,
! * <a href="/man/rrdupdate.html" target="man">rrdupdate</a>,
! * <a href="/man/rrdfetch.html" target="man">rrdfetch</a> and
! * <a href="/man/rrdgraph.html" target="man">rrdgraph</a>.
* For RRDTool's advanced graphing capabilities (RPN extensions), also supported in JRobin,
* there is an excellent
***************
*** 331,335 ****
* @param fetchEnd Ending timestamp for fetch request.
* @param resolution Fetch resolution (see RRDTool's
! * <a href="../../man/rrdfetch.html" target="man">rrdfetch man page</a> for an
* explanation of this parameter.
* @return Request object that should be used to actually fetch data from RRD file.
--- 331,335 ----
* @param fetchEnd Ending timestamp for fetch request.
* @param resolution Fetch resolution (see RRDTool's
! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a> for an
* explanation of this parameter.
* @return Request object that should be used to actually fetch data from RRD file.
***************
*** 347,351 ****
* method to actually fetch data from the RRD file. Data will be fetched with the smallest
* possible resolution (see RRDTool's
! * <a href="../../../man/rrdfetch.html" target="man">rrdfetch man page</a>
* for the explanation of the resolution parameter).</p>
*
--- 347,351 ----
* method to actually fetch data from the RRD file. Data will be fetched with the smallest
* possible resolution (see RRDTool's
! * <a href="/man/rrdfetch.html" target="man">rrdfetch man page</a>
* for the explanation of the resolution parameter).</p>
*
Index: RrdDef.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdDef.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdDef.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 46,50 ****
* <p>RrdDef provides API to set all these elements. For the complete explanation of all
* RRD definition parameters, see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @author <a href="mailto:sa...@eu...">Sasa Markovic</a>
--- 46,50 ----
* <p>RrdDef provides API to set all these elements. For the complete explanation of all
* RRD definition parameters, see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @author <a href="mailto:sa...@eu...">Sasa Markovic</a>
***************
*** 173,177 ****
* heartbeat, minimal and maximal value. For the complete explanation of all data
* source definition parameters see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @param dsName Data source name.
--- 173,177 ----
* heartbeat, minimal and maximal value. For the complete explanation of all data
* source definition parameters see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
*
* @param dsName Data source name.
***************
*** 229,233 ****
* number of steps and rows. For the complete explanation of all archive
* definition parameters see RRDTool's
! * <a href="../../../man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
* @param consolFun Consolidation function. Valid values are "AVERAGE",
* "MIN", "MAX" and "LAST"
--- 229,233 ----
* number of steps and rows. For the complete explanation of all archive
* definition parameters see RRDTool's
! * <a href="/man/rrdcreate.html" target="man">rrdcreate man page</a>.</p>
* @param consolFun Consolidation function. Valid values are "AVERAGE",
* "MIN", "MAX" and "LAST"
Index: RrdDouble.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDouble.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdDouble.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdDouble.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 28,34 ****
import java.io.IOException;
- /**
- *
- */
class RrdDouble {
private RrdFile file;
--- 28,31 ----
Index: RrdInt.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdInt.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdInt.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdInt.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 28,34 ****
import java.io.IOException;
- /**
- *
- */
class RrdInt {
private RrdFile file;
--- 28,31 ----
Index: RrdLong.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdLong.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdLong.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdLong.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 28,34 ****
import java.io.IOException;
- /**
- *
- */
class RrdLong {
private RrdFile file;
--- 28,31 ----
Index: RrdString.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdString.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RrdString.java 7 Nov 2003 08:23:18 -0000 1.1
--- RrdString.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 28,35 ****
import java.io.IOException;
- /**
- *
- */
-
class RrdString {
private RrdFile file;
--- 28,31 ----
Index: Sample.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/Sample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Sample.java 7 Nov 2003 08:23:18 -0000 1.1
--- Sample.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 33,37 ****
* class are never created directly (no public constructor is provided). To learn more how
* to update a RRD file, see RRDTool's
! * <a href="../../../man/rrdupdate.html" target="man">rrdupdate man page</a>.
*
* <p>To update a RRD file with JRobin use the following procedure:</p>
--- 33,37 ----
* class are never created directly (no public constructor is provided). To learn more how
* to update a RRD file, see RRDTool's
! * <a href="/man/rrdupdate.html" target="man">rrdupdate man page</a>.
*
* <p>To update a RRD file with JRobin use the following procedure:</p>
|
|
From: <sa...@us...> - 2003-11-07 09:53:39
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg
In directory sc8-pr-cvs1:/tmp/cvs-serv27255/org/jrobin/mrtg
Modified Files:
MrtgException.java
Log Message:
some javadoc fixed, minor code changes
Index: MrtgException.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MrtgException.java 7 Nov 2003 08:23:19 -0000 1.1
--- MrtgException.java 7 Nov 2003 09:53:35 -0000 1.2
***************
*** 26,30 ****
package org.jrobin.mrtg;
! public class MrtgException extends Exception {
public MrtgException(String cause) {
super(cause);
--- 26,32 ----
package org.jrobin.mrtg;
! import org.jrobin.core.RrdException;
!
! public class MrtgException extends RrdException {
public MrtgException(String cause) {
super(cause);
|
|
From: <sa...@us...> - 2003-11-07 08:33:55
|
Update of /cvsroot/jrobin/src/jrobin/mrtg/server In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/mrtg/server Removed Files: Archiver.java Collector.java Config.java Grapher.java Hardware.java Link.java Marshaller.java RawSample.java Router.java RpcServer.java Scheduler.java Server.java SnmpCommunicator.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- Archiver.java DELETED --- --- Collector.java DELETED --- --- Config.java DELETED --- --- Grapher.java DELETED --- --- Hardware.java DELETED --- --- Link.java DELETED --- --- Marshaller.java DELETED --- --- RawSample.java DELETED --- --- Router.java DELETED --- --- RpcServer.java DELETED --- --- Scheduler.java DELETED --- --- Server.java DELETED --- --- SnmpCommunicator.java DELETED --- |
Update of /cvsroot/jrobin/src/jrobin/mrtg/client In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/mrtg/client Removed Files: AboutDialog.java Client.java EditLinkDialog.java EditRouterDialog.java GraphFrame.java HelpDialog.java HostDialog.java LinkInfo.java MrtgData.java Resources.java RouterInfo.java RpcClient.java ServerInfo.java SplashWindow.java TreeElementInfo.java TreeRenderer.java Util.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- AboutDialog.java DELETED --- --- Client.java DELETED --- --- EditLinkDialog.java DELETED --- --- EditRouterDialog.java DELETED --- --- GraphFrame.java DELETED --- --- HelpDialog.java DELETED --- --- HostDialog.java DELETED --- --- LinkInfo.java DELETED --- --- MrtgData.java DELETED --- --- Resources.java DELETED --- --- RouterInfo.java DELETED --- --- RpcClient.java DELETED --- --- ServerInfo.java DELETED --- --- SplashWindow.java DELETED --- --- TreeElementInfo.java DELETED --- --- TreeRenderer.java DELETED --- --- Util.java DELETED --- |
|
From: <sa...@us...> - 2003-11-07 08:33:54
|
Update of /cvsroot/jrobin/src/jrobin/mrtg In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/mrtg Removed Files: Debug.java MrtgConstants.java MrtgException.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- Debug.java DELETED --- --- MrtgConstants.java DELETED --- --- MrtgException.java DELETED --- |
|
From: <sa...@us...> - 2003-11-07 08:33:54
|
Update of /cvsroot/jrobin/src/jrobin/inspector In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/inspector Removed Files: ArchiveTableModel.java DataTableModel.java DatasourceTableModel.java HeaderTableModel.java InspectorModel.java MainTreeModel.java RrdInspector.java RrdNode.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- ArchiveTableModel.java DELETED --- --- DataTableModel.java DELETED --- --- DatasourceTableModel.java DELETED --- --- HeaderTableModel.java DELETED --- --- InspectorModel.java DELETED --- --- MainTreeModel.java DELETED --- --- RrdInspector.java DELETED --- --- RrdNode.java DELETED --- |
Update of /cvsroot/jrobin/src/jrobin/graph In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/graph Removed Files: Area.java Cdef.java ChartGraphics.java ChartPanel.java Comment.java CustomArea.java CustomLine.java Def.java FetchSource.java GifEncoder.java Gprint.java Grapher.java GridRange.java JpegImageWriteParam.java Legend.java LegendMarker.java Line.java PlotDef.java RpnCalculator.java RrdGraph.java RrdGraphDef.java Source.java Stack.java TimeAxisUnit.java TimeGrid.java TimeMarker.java Title.java ValueAxisUnit.java ValueExtractor.java ValueFormatter.java ValueGrid.java ValueMarker.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- Area.java DELETED --- --- Cdef.java DELETED --- --- ChartGraphics.java DELETED --- --- ChartPanel.java DELETED --- --- Comment.java DELETED --- --- CustomArea.java DELETED --- --- CustomLine.java DELETED --- --- Def.java DELETED --- --- FetchSource.java DELETED --- --- GifEncoder.java DELETED --- --- Gprint.java DELETED --- --- Grapher.java DELETED --- --- GridRange.java DELETED --- --- JpegImageWriteParam.java DELETED --- --- Legend.java DELETED --- --- LegendMarker.java DELETED --- --- Line.java DELETED --- --- PlotDef.java DELETED --- --- RpnCalculator.java DELETED --- --- RrdGraph.java DELETED --- --- RrdGraphDef.java DELETED --- --- Source.java DELETED --- --- Stack.java DELETED --- --- TimeAxisUnit.java DELETED --- --- TimeGrid.java DELETED --- --- TimeMarker.java DELETED --- --- Title.java DELETED --- --- ValueAxisUnit.java DELETED --- --- ValueExtractor.java DELETED --- --- ValueFormatter.java DELETED --- --- ValueGrid.java DELETED --- --- ValueMarker.java DELETED --- |
Update of /cvsroot/jrobin/src/jrobin/core In directory sc8-pr-cvs1:/tmp/cvs-serv16041/jrobin/core Removed Files: ArcDef.java ArcState.java Archive.java Datasource.java DsDef.java FetchData.java FetchPoint.java FetchRequest.java Header.java Robin.java RpnCalculator.java RrdDb.java RrdDbPool.java RrdDef.java RrdDouble.java RrdException.java RrdFile.java RrdInt.java RrdLong.java RrdString.java RrdUpdater.java Sample.java Util.java XmlReader.java XmlWriter.java Log Message: removed old packages, only org.jrobin.* packages should exist now --- ArcDef.java DELETED --- --- ArcState.java DELETED --- --- Archive.java DELETED --- --- Datasource.java DELETED --- --- DsDef.java DELETED --- --- FetchData.java DELETED --- --- FetchPoint.java DELETED --- --- FetchRequest.java DELETED --- --- Header.java DELETED --- --- Robin.java DELETED --- --- RpnCalculator.java DELETED --- --- RrdDb.java DELETED --- --- RrdDbPool.java DELETED --- --- RrdDef.java DELETED --- --- RrdDouble.java DELETED --- --- RrdException.java DELETED --- --- RrdFile.java DELETED --- --- RrdInt.java DELETED --- --- RrdLong.java DELETED --- --- RrdString.java DELETED --- --- RrdUpdater.java DELETED --- --- Sample.java DELETED --- --- Util.java DELETED --- --- XmlReader.java DELETED --- --- XmlWriter.java DELETED --- |
|
From: <sa...@us...> - 2003-11-07 08:23:22
|
Update of /cvsroot/jrobin/src/org/jrobin/inspector In directory sc8-pr-cvs1:/tmp/cvs-serv14464/org/jrobin/inspector Added Files: ArchiveTableModel.java DataTableModel.java DatasourceTableModel.java HeaderTableModel.java InspectorModel.java MainTreeModel.java RrdInspector.java RrdNode.java Log Message: packages org.jrobin.* created (old jrobin.* packages still exist, will be removed later) --- NEW FILE: ArchiveTableModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.*; import javax.swing.table.AbstractTableModel; import java.io.File; import java.io.IOException; import java.util.Date; class ArchiveTableModel extends AbstractTableModel { private static final Object[] DESCRIPTIONS = { "consolidation", "xff", "steps", "rows", "accum. value", "NaN steps", "start", "end" }; private static final String[] COLUMN_NAMES = {"description", "value"}; private File file; private Object[] values; private int dsIndex = -1, arcIndex = -1; public int getRowCount() { return DESCRIPTIONS.length; } public int getColumnCount() { return COLUMN_NAMES.length; } public Object getValueAt(int rowIndex, int columnIndex) { if (columnIndex == 0) { return DESCRIPTIONS[rowIndex]; } else if (columnIndex == 1) { if (values != null) { return values[rowIndex]; } else { return "--"; } } return null; } public String getColumnName(int column) { return COLUMN_NAMES[column]; } void setFile(File newFile) { if (file == null || !file.getAbsolutePath().equals(newFile.getAbsolutePath())) { file = newFile; setIndex(-1, -1); } } void setIndex(int newDsIndex, int newArcIndex) { if (dsIndex != newDsIndex || arcIndex != newArcIndex) { dsIndex = newDsIndex; arcIndex = newArcIndex; values = null; if(dsIndex >= 0 && arcIndex >= 0) { try { RrdDb rrd = new RrdDb(file.getAbsolutePath()); Archive arc = rrd.getArchive(arcIndex); ArcState state = arc.getArcState(dsIndex); values = new Object[]{ arc.getConsolFun(), "" + arc.getXff(), "" + arc.getSteps(), "" + arc.getRows(), InspectorModel.formatDouble(state.getAccumValue()), "" + state.getNanSteps(), "" + arc.getStartTime() + " [" + new Date(arc.getStartTime() * 1000L) + "]", "" + arc.getEndTime() + " [" + new Date(arc.getEndTime() * 1000L) + "]" }; rrd.close(); } catch (IOException e) { } catch (RrdException e) { } } fireTableDataChanged(); } } } --- NEW FILE: DataTableModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.*; import javax.swing.table.AbstractTableModel; import java.io.File; import java.io.IOException; import java.util.Date; class DataTableModel extends AbstractTableModel { private static final String[] COLUMN_NAMES = {"timestamp", "date", "value"}; private File file; private Object[][] values; private int dsIndex = -1, arcIndex = -1; public int getRowCount() { if(values == null) { return 0; } else { return values.length; } } public int getColumnCount() { return COLUMN_NAMES.length; } public Object getValueAt(int rowIndex, int columnIndex) { if(values == null) { return "--"; } return values[rowIndex][columnIndex]; } public String getColumnName(int column) { return COLUMN_NAMES[column]; } void setFile(File newFile) { if (file == null || !file.getAbsolutePath().equals(newFile.getAbsolutePath())) { file = newFile; setIndex(-1, -1); } } void setIndex(int newDsIndex, int newArcIndex) { if (dsIndex != newDsIndex || arcIndex != newArcIndex) { dsIndex = newDsIndex; arcIndex = newArcIndex; values = null; if(dsIndex >= 0 && arcIndex >= 0) { try { RrdDb rrd = new RrdDb(file.getAbsolutePath()); Archive arc = rrd.getArchive(arcIndex); Robin robin = arc.getRobin(dsIndex); long start = arc.getStartTime(); long step = arc.getArcStep(); double robinValues[] = robin.getValues(); values = new Object[robinValues.length][]; for(int i = 0; i < robinValues.length; i++) { long timestamp = start + i * step; String date = new Date(timestamp * 1000L).toString(); String value = InspectorModel.formatDouble(robinValues[i]); values[i] = new Object[] { "" + timestamp, date, value }; } rrd.close(); } catch (IOException e) { } catch (RrdException e) { } } fireTableDataChanged(); } } } --- NEW FILE: DatasourceTableModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.RrdDb; import org.jrobin.core.Datasource; import org.jrobin.core.RrdException; import javax.swing.table.AbstractTableModel; import java.io.IOException; import java.io.File; class DatasourceTableModel extends AbstractTableModel { private static final Object[] DESCRIPTIONS = {"name", "type", "heartbeat", "min value", "max value", "last value", "accum. value", "NaN seconds"}; private static final String[] COLUMN_NAMES = {"description", "value"}; private File file; private Object[] values; private int dsIndex = -1; public int getRowCount() { return DESCRIPTIONS.length; } public int getColumnCount() { return COLUMN_NAMES.length; } public Object getValueAt(int rowIndex, int columnIndex) { if (columnIndex == 0) { return DESCRIPTIONS[rowIndex]; } else if (columnIndex == 1) { if (values != null) { return values[rowIndex]; } else { return "--"; } } return null; } public String getColumnName(int column) { return COLUMN_NAMES[column]; } void setFile(File newFile) { if (file == null || !file.getAbsolutePath().equals(newFile.getAbsolutePath())) { file = newFile; setIndex(-1); } } void setIndex(int newDsIndex) { if (dsIndex != newDsIndex) { dsIndex = newDsIndex; values = null; if(dsIndex >= 0) { try { RrdDb rrd = new RrdDb(file.getAbsolutePath()); Datasource ds = rrd.getDatasource(dsIndex); values = new Object[]{ ds.getDsName(), ds.getDsType(), "" + ds.getHeartbeat(), InspectorModel.formatDouble(ds.getMinValue()), InspectorModel.formatDouble(ds.getMaxValue()), InspectorModel.formatDouble(ds.getLastValue()), InspectorModel.formatDouble(ds.getAccumValue()), "" + ds.getNanSeconds() }; rrd.close(); } catch (IOException e) { } catch (RrdException e) { } } fireTableDataChanged(); } } } --- NEW FILE: HeaderTableModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.RrdDb; import org.jrobin.core.Header; import org.jrobin.core.RrdException; import javax.swing.table.AbstractTableModel; import java.util.Date; import java.io.IOException; import java.io.File; class HeaderTableModel extends AbstractTableModel { private static final Object[] DESCRIPTIONS = {"path", "signature", "step", "last timestamp", "datasources", "archives", "size"}; private static final String[] COLUMN_NAMES = {"description", "value"}; private File file; private Object[] values; public int getRowCount() { return DESCRIPTIONS.length; } public int getColumnCount() { return COLUMN_NAMES.length; } public Object getValueAt(int rowIndex, int columnIndex) { if(columnIndex == 0) { return DESCRIPTIONS[rowIndex]; } else if(columnIndex == 1) { if(values != null) { return values[rowIndex]; } else { return "--"; } } return null; } public String getColumnName(int column) { return COLUMN_NAMES[column]; } void setFile(File newFile) { if(file == null || !file.getAbsolutePath().equals(newFile.getAbsolutePath())) { try { file = newFile; values = null; String path = file.getAbsolutePath(); RrdDb rrd = new RrdDb(path); Header header = rrd.getHeader(); String signature = header.getSignature(); String step = "" + header.getStep(); String lastTimestamp = header.getLastUpdateTime() + " [" + new Date(header.getLastUpdateTime() * 1000L) + "]"; String datasources = "" + header.getDsCount(); String archives = "" + header.getArcCount(); String size = rrd.getRrdFile().getFileSize() + " bytes"; rrd.close(); values = new Object[] { path, signature, step, lastTimestamp, datasources, archives, size }; fireTableDataChanged(); } catch (IOException e) { } catch (RrdException e) { } } } } --- NEW FILE: InspectorModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import java.io.File; import java.text.DecimalFormat; /** * Created by saxon * User: stalker * Date: Oct 5, 2003 * Time: 11:26:05 AM */ class InspectorModel { private MainTreeModel mainTreeModel = new MainTreeModel(); private HeaderTableModel generalTableModel = new HeaderTableModel(); private DatasourceTableModel datasourceTableModel = new DatasourceTableModel(); private ArchiveTableModel archiveTableModel = new ArchiveTableModel(); private DataTableModel dataTableModel = new DataTableModel(); MainTreeModel getMainTreeModel() { return mainTreeModel; } HeaderTableModel getGeneralTableModel() { return generalTableModel; } DatasourceTableModel getDatasourceTableModel() { return datasourceTableModel; } DataTableModel getDataTableModel() { return dataTableModel; } ArchiveTableModel getArchiveTableModel() { return archiveTableModel; } void setFile(File file) { mainTreeModel.setFile(file); generalTableModel.setFile(file); datasourceTableModel.setFile(file); archiveTableModel.setFile(file); dataTableModel.setFile(file); } void selectModel(int dsIndex, int arcIndex) { datasourceTableModel.setIndex(dsIndex); archiveTableModel.setIndex(dsIndex, arcIndex); dataTableModel.setIndex(dsIndex, arcIndex); } private static String DOUBLE_FORMAT = "0.0000000000E00"; private static final DecimalFormat df = new DecimalFormat(DOUBLE_FORMAT); static String formatDouble(double x, String nanString) { if(Double.isNaN(x)) { return nanString; } return df.format(x); } static String formatDouble(double x) { return formatDouble(x, "" + Double.NaN); } } --- NEW FILE: MainTreeModel.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.RrdDb; import org.jrobin.core.RrdException; import javax.swing.tree.DefaultTreeModel; import javax.swing.tree.DefaultMutableTreeNode; import java.io.IOException; import java.io.File; class MainTreeModel extends DefaultTreeModel { private static final DefaultMutableTreeNode INVALID_NODE = new DefaultMutableTreeNode("No valid RRD file specified"); private File file; MainTreeModel() { super(INVALID_NODE); } void setFile(File newFile) { if (file == null || !file.getAbsolutePath().equals(newFile.getAbsolutePath())) { try { file = newFile; RrdDb rrd = new RrdDb(file.getAbsolutePath()); DefaultMutableTreeNode root = new DefaultMutableTreeNode(new RrdNode(rrd)); int dsCount = rrd.getRrdDef().getDsCount(); int arcCount = rrd.getRrdDef().getArcCount(); for (int dsIndex = 0; dsIndex < dsCount; dsIndex++) { DefaultMutableTreeNode dsNode = new DefaultMutableTreeNode(new RrdNode(rrd, dsIndex)); for (int arcIndex = 0; arcIndex < arcCount; arcIndex++) { DefaultMutableTreeNode arcNode = new DefaultMutableTreeNode(new RrdNode(rrd, dsIndex, arcIndex)); dsNode.add(arcNode); } root.add(dsNode); } rrd.close(); setRoot(root); } catch (IOException e) { setRoot(INVALID_NODE); } catch (RrdException e) { setRoot(INVALID_NODE); } } } } --- NEW FILE: RrdInspector.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import javax.swing.*; import javax.swing.filechooser.FileFilter; import javax.swing.event.TreeSelectionListener; import javax.swing.event.TreeSelectionEvent; import javax.swing.tree.TreeSelectionModel; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.TreePath; import java.awt.*; import java.awt.event.*; import java.io.File; class RrdInspector extends JFrame { static final String TITLE = "RRD File Inspector"; static Dimension MAIN_TREE_SIZE = new Dimension(250, 400); static Dimension INFO_PANE_SIZE = new Dimension(450, 400); JTabbedPane tabbedPane = new JTabbedPane(); private JTree mainTree = new JTree(); private JTable generalTable = new JTable(); private JTable datasourceTable = new JTable(); private JTable archiveTable = new JTable(); private JTable dataTable = new JTable(); private InspectorModel inspectorModel = new InspectorModel(); RrdInspector() { super(TITLE); constructUI(); showCentered(); selectFile(); } private void showCentered() { pack(); Toolkit t = Toolkit.getDefaultToolkit(); Dimension screenSize = t.getScreenSize(), frameSize = getPreferredSize(); double x = (screenSize.getWidth() - frameSize.getWidth()) / 2; double y = (screenSize.getHeight() - frameSize.getHeight()) / 2; setLocation((int) x, (int) y); setVisible(true); } private void constructUI() { JPanel content = (JPanel) getContentPane(); content.setLayout(new BorderLayout()); // WEST, tree pane JPanel leftPanel = new JPanel(); leftPanel.setLayout(new BorderLayout()); JScrollPane treePane = new JScrollPane(mainTree); leftPanel.add(treePane); leftPanel.setPreferredSize(MAIN_TREE_SIZE); content.add(leftPanel, BorderLayout.WEST); mainTree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); mainTree.addTreeSelectionListener(new TreeSelectionListener() { public void valueChanged(TreeSelectionEvent e) { nodeChangedAction(); } }); mainTree.setModel(inspectorModel.getMainTreeModel()); // EAST, tabbed pane // GENERAL TAB JScrollPane spGeneral = new JScrollPane(generalTable); spGeneral.setPreferredSize(INFO_PANE_SIZE); tabbedPane.add("General info", spGeneral); generalTable.setModel(inspectorModel.getGeneralTableModel()); generalTable.getColumnModel().getColumn(0).setPreferredWidth(150); generalTable.getColumnModel().getColumn(0).setMaxWidth(150); //generalTable.getColumnModel().getColumn(0).setMinWidth(150); // DATASOURCE TAB JScrollPane spDatasource = new JScrollPane(datasourceTable); spDatasource.setPreferredSize(INFO_PANE_SIZE); tabbedPane.add("Datasource info", spDatasource); datasourceTable.setModel(inspectorModel.getDatasourceTableModel()); datasourceTable.getColumnModel().getColumn(0).setPreferredWidth(150); datasourceTable.getColumnModel().getColumn(0).setMaxWidth(150); //datasourceTable.getColumnModel().getColumn(0).setMinWidth(150); // ARCHIVE TAB JScrollPane spArchive = new JScrollPane(archiveTable); archiveTable.setModel(inspectorModel.getArchiveTableModel()); archiveTable.getColumnModel().getColumn(0).setPreferredWidth(150); archiveTable.getColumnModel().getColumn(0).setMaxWidth(150); //archiveTable.getColumnModel().getColumn(0).setMinWidth(150); spArchive.setPreferredSize(INFO_PANE_SIZE); tabbedPane.add("Archive info", spArchive); // DATA TAB JScrollPane spData = new JScrollPane(dataTable); dataTable.setModel(inspectorModel.getDataTableModel()); dataTable.getColumnModel().getColumn(0).setPreferredWidth(100); dataTable.getColumnModel().getColumn(0).setMaxWidth(100); dataTable.getColumnModel().getColumn(1).setPreferredWidth(150); spData.setPreferredSize(INFO_PANE_SIZE); tabbedPane.add("Archive data", spData); content.add(tabbedPane, BorderLayout.CENTER); // MENU JMenuBar menuBar = new JMenuBar(); JMenu fileMenu = new JMenu("File"); fileMenu.setMnemonic(KeyEvent.VK_F); JMenuItem fileMenuItem = new JMenuItem("Open RRD file...", KeyEvent.VK_O); fileMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { selectFile(); } }); fileMenu.add(fileMenuItem); JMenuItem exitMenuItem = new JMenuItem("Exit", KeyEvent.VK_X); exitMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { System.exit(0); } }); fileMenu.addSeparator(); fileMenu.add(exitMenuItem); menuBar.add(fileMenu); setJMenuBar(menuBar); // finalize UI addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); } private void nodeChangedAction() { TreePath path = mainTree.getSelectionPath(); if(path != null) { DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); Object obj = node.getUserObject(); if(obj instanceof RrdNode) { RrdNode rrdNode = (RrdNode) obj; inspectorModel.selectModel(rrdNode.getDsIndex(), rrdNode.getArcIndex()); if(rrdNode.getDsIndex() >= 0 && rrdNode.getArcIndex() >= 0) { // archive node if(tabbedPane.getSelectedIndex() < 2) { tabbedPane.setSelectedIndex(2); } } else if(rrdNode.getDsIndex() >= 0) { tabbedPane.setSelectedIndex(1); } else { tabbedPane.setSelectedIndex(0); } } } } private void selectFile() { JFileChooser chooser = new JFileChooser(); FileFilter filter = new FileFilter() { public boolean accept(File f) { return f.isDirectory()? true: f.getAbsolutePath().toLowerCase().endsWith(".rrd"); } public String getDescription() { return "JRobin RRD files"; } }; chooser.setFileFilter(filter); int returnVal = chooser.showOpenDialog(this); if(returnVal == JFileChooser.APPROVE_OPTION) { File file = chooser.getSelectedFile(); inspectorModel.setFile(file); tabbedPane.setSelectedIndex(0); } } public static void main(String[] args) { new RrdInspector(); } } --- NEW FILE: RrdNode.java --- /* ============================================================ * JRobin : Pure java implementation of RRDTool's functionality * ============================================================ * * Project Info: http://www.sourceforge.net/projects/jrobin * Project Lead: Sasa Markovic (sa...@eu...); * * (C) Copyright 2003, by Sasa Markovic. * * Developers: Sasa Markovic (sa...@jr...) * Arne Vandamme (cob...@jr...) * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package org.jrobin.inspector; import org.jrobin.core.*; import java.io.File; import java.io.IOException; class RrdNode { private int dsIndex = -1, arcIndex = -1; private String label; RrdNode(RrdDb rrd) { // header node String path = rrd.getRrdFile().getFilePath(); label = new File(path).getName(); } RrdNode(RrdDb rrd, int dsIndex) throws IOException, RrdException { // datasource node this.dsIndex = dsIndex; RrdDef def = rrd.getRrdDef(); DsDef[] dsDefs = def.getDsDefs(); label = dsDefs[dsIndex].dump(); } RrdNode(RrdDb rrd, int dsIndex, int arcIndex) throws IOException, RrdException { // archive node this.dsIndex = dsIndex; this.arcIndex = arcIndex; ArcDef[] arcDefs = rrd.getRrdDef().getArcDefs(); label = arcDefs[arcIndex].dump(); } int getDsIndex() { return dsIndex; } int getArcIndex() { return arcIndex; } public String toString() { return label; } } |