-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Java packages across all code examples
- Loading branch information
1 parent
03f673c
commit 497ac10
Showing
107 changed files
with
249 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.docusign; | ||
|
||
/* | ||
* This class can be used to determine the user's operating system so that the | ||
* application can successfully open a web browser to run the examples. | ||
*/ | ||
public class OSDetector | ||
{ | ||
private static final boolean isWindows; | ||
private static final boolean isLinux; | ||
private static final boolean isMac; | ||
|
||
static | ||
{ | ||
String os = System.getProperty("os.name").toLowerCase(); | ||
isWindows = os.contains("win"); | ||
isLinux = os.contains("nux") || os.contains("nix"); | ||
isMac = os.contains("mac"); | ||
} | ||
|
||
public static boolean isWindows() { return isWindows; } | ||
public static boolean isLinux() { return isLinux; } | ||
public static boolean isMac() { return isMac; } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.