public final class OfficeDescriptor
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NonNull OfficeDescriptor |
fromExecutablePath(@NonNull java.lang.String path)
Creates descriptor from the office installation path.
|
@NonNull java.lang.String |
getProduct()
Gets the product name of the office installation being used.
|
@NonNull java.lang.String |
toString() |
boolean |
useLongOptionNameGnuStyle()
Gets whether we must use the lone option name GNU style (--) when setting command line options
to start an office instance.
|
public static @NonNull OfficeDescriptor fromExecutablePath(@NonNull java.lang.String path)
path - The installation path.public @NonNull java.lang.String getProduct()
public boolean useLongOptionNameGnuStyle()
true to use the lone option name GNU style,false otherwise.public @NonNull java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2022 - present; JODConverter. All rights reserved.