- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Gson g =
new Gson()
GsonBuilder gsonBuilder;gsonBuilder.create()
new GsonBuilder().create()
- Smart code suggestions by Codota
}
public FileSystemInfo(String mountPoint) { this.mountPoint = mountPoint; this.fetchedInfo = false; refresh(); }
/** * This returns the usage information on the file system. This may return <code>null</code> if the file system is * not available (e.g when a "device not ready" error for CD-ROM drives occurs) or not accessible due to lack of * permission. * * @return file system usage data */ public FileSystemUsage getFileSystemUsage() { if(!this.fetchedInfo){ refresh(); } return this.fsUsage; }
public FileSystemInfo(String mountPoint) { this.mountPoint = mountPoint; refresh(); }
public FileSystemInfo(String mountPoint, boolean deferedFetchInfo) { this.mountPoint = mountPoint; this.fetchedInfo = false; if (!deferedFetchInfo) { refresh(); } else { SigarProxy sigar = SigarAccess.getSigar(); createFileSystemObject(sigar); } }