Code example for ByteArrayOutputStream

Methods: toString

        } catch (CoreException e) {
            return null; 
        ByteArrayOutputStream stdout = new ByteArrayOutputStream();
        ByteArrayOutputStream stderr = new ByteArrayOutputStream();
        launcher.waitAndRead(stdout, stderr, monitor);
        return stdout.toString().trim();
    private static IPath getPathToMake() { 
        return getFullPathTo(MAKE);
     * Obtain a path to the utilities prebuilt folder in NDK. This is typically 
     * "${NdkRoot}/prebuilt/<platform>/bin/". If the executable is not found, it simply returns 
     * the name of the executable (which is equal to assuming that it is available on the path). 
    private static synchronized IPath getFullPathTo(String executable) {