public class JaplScriptFile extends ReferenceImpl
Constructor | Description |
---|---|
JaplScriptFile(File file) |
Deprecated, for removal: This API element is subject to removal in a future version.
File -based APIs will be removed in a future version.
Use JaplScriptFile(Path) instead. |
JaplScriptFile(String objectReference,
String applicationReference) |
|
JaplScriptFile(Path file) |
Modifier and Type | Method | Description |
---|---|---|
TypeClass[] |
_getAppleScriptTypes() |
Array of AppleScript types that can be decoded
with this class.
|
File |
getFile() |
Deprecated, for removal: This API element is subject to removal in a future version.
File -based APIs will be removed in a future version.
Use toAppleScriptFile(Path) instead. |
static JaplScriptFile |
getInstance() |
Null instance used for
Codec implementation. |
Path |
getPath() |
|
static String |
toAppleScriptFile(File javaFile) |
Deprecated, for removal: This API element is subject to removal in a future version.
File -based APIs will be removed in a future version.
Use toAppleScriptFile(Path) instead. |
static String |
toAppleScriptFile(Path javaPath) |
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_decode, _encode, _getJavaType, cast, equals, getApplicationReference, getObjectReference, getTypeClass, hashCode, isInstanceOf
@Deprecated(since="3.4.8", forRemoval=true) public JaplScriptFile(File file) throws IOException
File
-based APIs will be removed in a future version.
Use JaplScriptFile(Path)
instead.IOException
public JaplScriptFile(Path file) throws IOException
IOException
public static JaplScriptFile getInstance()
Codec
implementation.@Deprecated(since="3.4.8", forRemoval=true) public static String toAppleScriptFile(File javaFile) throws IOException
File
-based APIs will be removed in a future version.
Use toAppleScriptFile(Path)
instead.javaFile
- java File objectIOException
- if a canonical path cannot be foundpublic static String toAppleScriptFile(Path javaPath) throws IOException
javaPath
- java Path objectIOException
- if a canonical path cannot be found@Deprecated(since="3.4.8", forRemoval=true) public File getFile()
File
-based APIs will be removed in a future version.
Use toAppleScriptFile(Path)
instead.public Path getPath()
public TypeClass[] _getAppleScriptTypes()
Codec
_getAppleScriptTypes
in interface Codec<Reference>
_getAppleScriptTypes
in class ReferenceImpl
public String toString()
toString
in class ReferenceImpl