BrightSide Workbench Full Report + Source Code
All Classes Namespaces Files Functions Variables Pages
org.turro.elephant.impl.util.SafeURLEncoder Class Reference

Static Public Member Functions

static String encode (String value)
 
static String decode (String value)
 

Detailed Description

Author
Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 24 of file SafeURLEncoder.java.

Member Function Documentation

◆ decode()

static String org.turro.elephant.impl.util.SafeURLEncoder.decode ( String  value)
static

Definition at line 66 of file SafeURLEncoder.java.

66  {
67  for(int i = map.length - 1; i >= 0; i--) {
68  value = value.replace(map[i][1], map[i][0]);
69  }
70  return value;
71  }

◆ encode()

static String org.turro.elephant.impl.util.SafeURLEncoder.encode ( String  value)
static

Definition at line 59 of file SafeURLEncoder.java.

59  {
60  for(int i = 0; i < map.length; i++) {
61  value = value.replace(map[i][0], map[i][1]);
62  }
63  return value;
64  }

The documentation for this class was generated from the following file: