|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.util.LPath
public final class LPath
This class defines paths used in LaTeXDraw.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
05/11/07
Field Summary | |
---|---|
static java.lang.String |
CACHE_DIR
The name of the cache directory |
static java.lang.String |
CACHE_SHARED_DIR
The name of the cache directory for shared templates |
static LPath |
INSTANCE
The singleton. |
static java.lang.String |
PATH_CACHE_DIR
|
static java.lang.String |
PATH_CACHE_SHARE_DIR
|
static java.lang.String |
PATH_LOCAL_USER
|
static java.lang.String |
PATH_PREFERENCES_XML_FILE
|
static java.lang.String |
PATH_SHARED
|
static java.lang.String |
PATH_TEMPLATES_DIR_USER
|
static java.lang.String |
PATH_TEMPLATES_SHARED
|
static java.lang.String |
TEMPLATE_DIR
The name of the templates directory |
Constructor Summary | |
---|---|
private |
LPath()
|
Method Summary | |
---|---|
void |
checkDirectories()
Creates the necessary directories for the execution of LaTeXDraw. |
void |
checkInstallDirectories()
Creates the necessary directories for the installation of LaTeXDraw. |
java.lang.String |
getNormaliseNamespaceURI(java.lang.String nsURI)
Normalises the given namespace URI: if the given namespace is null or empty, an empty string is returned. |
java.lang.String |
getPathJar()
Allows to get the path of the project where the class LaTeXDrawPath is located. |
private java.lang.String |
getPathLocalUser()
|
private java.lang.String |
getPathShared()
|
private java.lang.String |
getPathTemplatesShared()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LPath INSTANCE
public static final java.lang.String CACHE_DIR
public static final java.lang.String CACHE_SHARED_DIR
public static final java.lang.String TEMPLATE_DIR
public static final java.lang.String PATH_LOCAL_USER
public static final java.lang.String PATH_TEMPLATES_DIR_USER
public static final java.lang.String PATH_PREFERENCES_XML_FILE
public static final java.lang.String PATH_CACHE_DIR
public static final java.lang.String PATH_CACHE_SHARE_DIR
public static final java.lang.String PATH_TEMPLATES_SHARED
public static final java.lang.String PATH_SHARED
Constructor Detail |
---|
private LPath()
Method Detail |
---|
public java.lang.String getNormaliseNamespaceURI(java.lang.String nsURI)
nsURI
- The namespace to normalise.
private java.lang.String getPathLocalUser()
private java.lang.String getPathTemplatesShared()
private java.lang.String getPathShared()
public void checkInstallDirectories()
public void checkDirectories()
public java.lang.String getPathJar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |