Skip to content

Commit dfff43a

Browse files
committed
Sort methods AB.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1154434 13f79535-47bb-0310-9956-ffa450edef68
1 parent 92fab79 commit dfff43a

2 files changed

Lines changed: 236 additions & 236 deletions

File tree

src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -267,42 +267,6 @@ public String encode(String input) {
267267
return encode(input, languageSet);
268268
}
269269

270-
/**
271-
* Gets the Lang language guessing rules being used.
272-
*
273-
* @return the Lang in use
274-
*/
275-
public Lang getLang() {
276-
return this.lang;
277-
}
278-
279-
/**
280-
* Gets the NameType being used.
281-
*
282-
* @return the NameType in use
283-
*/
284-
public NameType getNameType() {
285-
return this.nameType;
286-
}
287-
288-
/**
289-
* Gets the RuleType being used.
290-
*
291-
* @return the RuleType in use
292-
*/
293-
public RuleType getRuleType() {
294-
return this.ruleType;
295-
}
296-
297-
/**
298-
* Gets if multiple phonetic encodings are concatenated or if just the first one is kept.
299-
*
300-
* @return true if multiple phonetic encodings are returned, false if just the first is.
301-
*/
302-
public boolean isConcat() {
303-
return this.concat;
304-
}
305-
306270
/**
307271
* Encodes an input string into an output phonetic representation, given a set of possible origin languages.
308272
*
@@ -399,4 +363,40 @@ else if (input.length() >= 2 && input.substring(0, 2).equals("d'")) { // check f
399363

400364
return phonemeBuilder.makeString();
401365
}
366+
367+
/**
368+
* Gets the Lang language guessing rules being used.
369+
*
370+
* @return the Lang in use
371+
*/
372+
public Lang getLang() {
373+
return this.lang;
374+
}
375+
376+
/**
377+
* Gets the NameType being used.
378+
*
379+
* @return the NameType in use
380+
*/
381+
public NameType getNameType() {
382+
return this.nameType;
383+
}
384+
385+
/**
386+
* Gets the RuleType being used.
387+
*
388+
* @return the RuleType in use
389+
*/
390+
public RuleType getRuleType() {
391+
return this.ruleType;
392+
}
393+
394+
/**
395+
* Gets if multiple phonetic encodings are concatenated or if just the first one is kept.
396+
*
397+
* @return true if multiple phonetic encodings are returned, false if just the first is.
398+
*/
399+
public boolean isConcat() {
400+
return this.concat;
401+
}
402402
}

0 commit comments

Comments
 (0)