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

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • getContentResolver (Context)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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