MCPcopy Index your code
hub / github.com/oshi/oshi / toString

Method toString

oshi-core/src/main/java/oshi/hardware/HWPartition.java:167–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 @Override
168 public String toString() {
169 StringBuilder sb = new StringBuilder();
170 sb.append(getIdentification()).append(": ");
171 sb.append(getName()).append(" ");
172 sb.append("(").append(getType()).append(") ");
173 sb.append("Maj:Min=").append(getMajor()).append(":").append(getMinor()).append(", ");
174 sb.append("size: ").append(FormatUtil.formatBytesDecimal(getSize()));
175 sb.append(getMountPoint().isEmpty() ? "" : " @ " + getMountPoint());
176 return sb.toString();
177 }
178}

Callers

nothing calls this directly

Calls 8

getIdentificationMethod · 0.95
getNameMethod · 0.95
getTypeMethod · 0.95
getMajorMethod · 0.95
getMinorMethod · 0.95
formatBytesDecimalMethod · 0.95
getSizeMethod · 0.95
getMountPointMethod · 0.95

Tested by

no test coverage detected