Home | History | Annotate | Download | only in manager

Lines Matching refs:segments

126             // get the class name segments
127 String[] segments = name.split("\\."); //$NON-NLS-1$
130 File classFile = getFile(outFolder, segments, 0);
164 * @param segments the segments containing the path of the file
165 * @param index the offset at which to start looking into segments.
168 private File getFile(File parent, String[] segments, int index)
171 if (index == segments.length) {
175 String toMatch = segments[index];
178 // we're at the last segments. we look for a matching <file>.class
179 if (index == segments.length - 1) {
200 return getFile(file, segments, index+1);
204 StringBuilder sb = new StringBuilder(segments[index]);
205 for (int i = index + 1 ; i < segments.length ; i++) {
207 sb.append(segments[i]);