Tabnine Logo
Os.remove
Code IndexAdd Tabnine to your IDE (free)

How to use
remove
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.remove (Showing top 14 results out of 315)

origin: robovm/robovm

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: robovm/robovm

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: com.mobidevelop.robovm/robovm-rt

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: ibinti/bugvm

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: ibinti/bugvm

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: MobiVM/robovm

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: MobiVM/robovm

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.bugvm/bugvm-rt

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: com.gluonhq/robovm-rt

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: FlexoVM/flexovm

public void remove(String path) throws ErrnoException { os.remove(path); }
public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); }
origin: com.gluonhq/robovm-rt

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.bugvm/bugvm-rt

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: FlexoVM/flexovm

/**
 * Deletes this file. Directories must be empty before they will be deleted.
 *
 * <p>Note that this method does <i>not</i> throw {@code IOException} on failure.
 * Callers must check the return value.
 *
 * @return {@code true} if this file was deleted, {@code false} otherwise.
 */
public boolean delete() {
  try {
    Libcore.os.remove(path);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
libcore.ioOsremove

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now