Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
Utilities.osSafeSpec
Returns a file specification where the "/" or "" characters have been replaced by the system specific path character.
Syntax
public static final String osSafeSpec(String spec)Parameters
spec
- The input file specification.
Returns
The converted string, specific to the operating system.
Example
String path = "/tmp/test.txt"; path = Utilities.osSafeSpec( path );
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.