com.theorem.ftp
Class FCorrectPath

java.lang.Object
  |
  +--com.theorem.ftp.CorrectPath
        |
        +--com.theorem.ftp.FCorrectPath

public class FCorrectPath
extends CorrectPath

Takes the corrected path (correct for the OS) and makes sure there aren't extra separator chars, and the path doesn't end in the sep char.


Fields inherited from class com.theorem.ftp.CorrectPath
sep
 
Constructor Summary
FCorrectPath()
           
 
Method Summary
 java.lang.String fixit(java.lang.String path)
          Fix a path to be OS specific (Win/Unix).
 
Methods inherited from class com.theorem.ftp.CorrectPath
fixPath, newPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FCorrectPath

public FCorrectPath()
Method Detail

fixit

public java.lang.String fixit(java.lang.String path)
Fix a path to be OS specific (Win/Unix).
Parameters:
original - path in either Unix or Windows form.
Returns:
path corrected for the current running platform.