RSE
Release 1.0

org.eclipse.rse.files.ui.resources
Class SystemFileNameHelper

java.lang.Object
  extended byorg.eclipse.rse.files.ui.resources.SystemFileNameHelper

public class SystemFileNameHelper
extends Object

This class converts a remote file name (including path) to a valid local one by escaping invalid characters in local file names with an _xx escape sequence.


Field Summary
protected static char[] array
           
 
Constructor Summary
SystemFileNameHelper()
           
 
Method Summary
static String getEscapedPath(String path)
          Get the escaped path name.
static String getUnescapedPath(String path)
          Gets the unescaped path name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

array

protected static final char[] array
Constructor Detail

SystemFileNameHelper

public SystemFileNameHelper()
Method Detail

getEscapedPath

public static String getEscapedPath(String path)
Get the escaped path name. Changes unsupported characters to _xyz.


getUnescapedPath

public static String getUnescapedPath(String path)
Gets the unescaped path name. Changes all _xyz to the original unsupported character.


RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.