Home
last modified time | relevance | path

Searched refs:ShortName (Results 1 – 5 of 5) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DShortName.java29 final class ShortName { class
42 public final static ShortName DOT = new ShortName(".", ""); // NOI18N
47 public final static ShortName DOT_DOT = new ShortName("..", ""); // NOI18N
52 private ShortName(String nameExt) { in ShortName() method in ShortName
71 ShortName(String name, String ext) { in ShortName() method in ShortName
75 ShortName(char[] name) { in ShortName() method in ShortName
79 public ShortName(char[] nameArr, char[] extArr) { in ShortName() method in ShortName
126 public static ShortName get(String name) throws IllegalArgumentException { in get()
132 return new ShortName(name); in get()
145 ShortName.get(nameExt); in canConvert()
[all …]
DFatLfnDirectory.java57 private final Map<ShortName, FatLfnDirectoryEntry> shortNameIndex;
76 new LinkedHashMap<ShortName, FatLfnDirectoryEntry>(); in FatLfnDirectory()
134 final ShortName sn = makeShortName(name, false); in addFile()
160 private ShortName makeShortName(String name, boolean isDirectory) throws IOException { in makeShortName()
161 final ShortName result; in makeShortName()
190 final ShortName sn = makeShortName(name, true); in addDirectory()
233 if (!ShortName.canConvert(name)) return null; in getEntry()
234 return shortNameIndex.get(ShortName.get(name)); in getEntry()
374 final ShortName sn = entry.realEntry.getShortName(); in unlinkEntry()
376 if (sn.equals(ShortName.DOT) || sn.equals(ShortName.DOT_DOT)) throw in unlinkEntry()
[all …]
DAbstractDirectory.java322 dot.setShortName(ShortName.DOT); in createSub()
330 dotDot.setShortName(ShortName.DOT_DOT); in createSub()
370 ShortName.checkValidChars(label.toCharArray()); in setLabel()
376 ShortName.checkValidChars(label.toCharArray()); in setLabel()
DFatLfnDirectoryEntry.java48 FatLfnDirectoryEntry(String name, ShortName sn, in FatLfnDirectoryEntry()
207 if (this.realEntry.getShortName().equals(ShortName.DOT) || in compactForm()
208 this.realEntry.getShortName().equals(ShortName.DOT_DOT) || in compactForm()
DFatDirectoryEntry.java317 public ShortName getShortName() { in getShortName()
321 return ShortName.parse(this.data); in getShortName()
335 public void setShortName(ShortName sn) { in setShortName()