FLfile (library)

Categories:File

Overview

Summary

The FLfile library extends the native FLfile library for CS3 installations with methods only available in CS4 and above.

You shouldn't need to use these methods directly, as URI.toURI() and URI.toPath() provide more powerful and flexible alternatives.

API

platformPathToURI(path)

Converts a platform-specific path to a URI

Parameters:

  • path String A string, expressed in a platform-specific format, specifying the filename you want to convert

Returns:

  •   String A string expressed as a file:/// URI.

See the FLfile documentation for examples.

uriToPlatformPath(uri)

Converts a URI to a platform-specific path

Parameters:

  • uri String A string, expressed as a file:/// URI, specifying the filename you want to convert

Returns:

  •   String A string representing a platform-specific path.

See the FLfile documentation for examples.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>