Code example for URL

Methods: toExternalForm

0
        this.error = new Throwable(message);
    } 
 
    public boolean start() { 
        this.error = null;
        thread = new Thread(this, "ChangeTracker-" + databaseURL.toExternalForm());
        thread.start();
        return true; 
    } 
 
    public void stop() { 
        Log.d(TDDatabase.TAG, "changed tracker asked to stop");
        running = false;
        thread.interrupt();
        if(request != null) {
            request.abort();
        } 
 
        stopped(); 
    }