Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.util
Class UtilFile

java.lang.Object
  extended by ch.elexis.util.UtilFile

public class UtilFile
extends java.lang.Object


Field Summary
static java.lang.String DIRECTORY_SEPARATOR
           
static java.lang.String ZIP_EXTENSION
           
 
Constructor Summary
UtilFile()
           
 
Method Summary
static java.lang.String getCorrectPath(java.lang.String path)
          Überprüft ob Verzeichnis korrekt ist.
static java.lang.String getFilename(java.lang.String filenamePath)
          Retourniert Dateinamen ohne Pfad als String
static java.lang.String getFilepath(java.lang.String filenamePath)
          Retourniert Pfad ohne Dateinamen als String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY_SEPARATOR

public static java.lang.String DIRECTORY_SEPARATOR

ZIP_EXTENSION

public static final java.lang.String ZIP_EXTENSION
See Also:
Constant Field Values
Constructor Detail

UtilFile

public UtilFile()
Method Detail

getCorrectPath

public static java.lang.String getCorrectPath(java.lang.String path)
                                       throws java.lang.IllegalArgumentException
Überprüft ob Verzeichnis korrekt ist. Falls nicht, wird das Verzeichnis korrigiert.

Parameters:
path - oder null
Throws:
java.lang.IllegalArgumentException

getFilename

public static java.lang.String getFilename(java.lang.String filenamePath)
Retourniert Dateinamen ohne Pfad als String


getFilepath

public static java.lang.String getFilepath(java.lang.String filenamePath)
Retourniert Pfad ohne Dateinamen als String


Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis