Common
Class Defs

java.lang.Object
  extended by Common.Defs

public class Defs
extends java.lang.Object

Wrapper class for common definitions.

Since:
1.0

Nested Class Summary
static class Defs.Axis
          Axis enum for parametrizing X, Y and Z axis.
 
Field Summary
private static ViewerInterface mViewer
           
 
Constructor Summary
Defs()
           
 
Method Summary
static java.lang.String GetExtension(java.io.File file)
          A utility method to get file extension from file object.
static ViewerInterface GetViewer()
           
static void SetViewer(ViewerInterface vewr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mViewer

private static ViewerInterface mViewer
Constructor Detail

Defs

public Defs()
Method Detail

SetViewer

public static void SetViewer(ViewerInterface vewr)

GetViewer

public static ViewerInterface GetViewer()

GetExtension

public static java.lang.String GetExtension(java.io.File file)
A utility method to get file extension from file object.

Parameters:
file - File object.
Returns:
file extension, null if no extension.