List of usage examples for com.google.common.io MoreFiles getNameWithoutExtension
public static String getNameWithoutExtension(Path path)
From source file:internal.workspace.file.LegacyIndexer.java
@Override public Index loadIndex() throws IOException { try {//from w w w. j ava2s .c om return xmlToIndex(unmarshalIndex(file), MoreFiles.getNameWithoutExtension(file)); } catch (JAXBException ex) { throw new IOException(ex); } }