Java Path Create toPath(String pathName)

Here you can find the source of toPath(String pathName)

Description

Translates the given identifier path name into a corresponding sequence of identifiers.

License

Open Source License

Declaration

public static String[] toPath(String pathName) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/*from w w  w . j  ava 2  s  .c  o m*/
     * Translates the given identifier path name into a corresponding
     * sequence of identifiers.
     */
    public static String[] toPath(String pathName) {
        return pathName == null ? null : pathName.split("\\.", -1);
    }
}

Related

  1. makePaths(File path)
  2. toPath(Class klazz)
  3. toPath(Object[] path)
  4. toPath(String groupId)
  5. toPath(String id)
  6. toPath(String srcPath, boolean nodeModelSource)
  7. toPath(String... paths)
  8. toPath(String[] array)
  9. toPathIndex(String fileName)