Back to project page turbo-editor.
The source code is released under:
GNU General Public License
If you think the Android project turbo-editor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.sufficientlysecure.rootcommands; /*w w w. j av a 2 s .c o m*/ import java.io.File; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class Mount { protected final File mDevice; protected final File mMountPoint; protected final String mType; protected final Set<String> mFlags; Mount(File device, File path, String type, String flagsStr) { mDevice = device; mMountPoint = path; mType = type; mFlags = new HashSet<String>(Arrays.asList(flagsStr.split(","))); } public File getDevice() { return mDevice; } public File getMountPoint() { return mMountPoint; } public String getType() { return mType; } public Set<String> getFlags() { return mFlags; } @Override public String toString() { return String.format("%s on %s type %s %s", mDevice, mMountPoint, mType, mFlags); } }