[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfTriple.cs,NONE,1.1 DotGNU.Rdf.
From: |
Adam Ballai <address@hidden> |
Subject: |
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfTriple.cs,NONE,1.1 DotGNU.Rdf.build,1.5,1.6 |
Date: |
Sat, 15 Feb 2003 13:24:12 -0500 |
Update of /cvsroot/dotgnu-libs/dotgnu.rdf
In directory subversions:/tmp/cvs-serv2239
Modified Files:
DotGNU.Rdf.build
Added Files:
RdfTriple.cs
Log Message:
--- NEW FILE ---
/*
* RdfTriple.cs - Implementation of the "DotGNU.Rdf.RdfTriple" class.
*
* Copyright (C) 2003 Adam Ballai, Cannibutter Software.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but 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.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
[...1730 lines suppressed...]
if (s[0] == '<') s = s.Substring(1, s.Length -
2);
if (s[s.Length - 1] == '#') s = s.Substring(0,
s.Length - 1);
if (s.EndsWith(".rdf")) s = s.Substring(0,
s.Length - 4) + ".n3";
else if (!s.EndsWith(".n3") &&
!s.EndsWith(".nt")) s = s + ".n3";
return s;
}
}
internal String toHex(String s)
{
StringBuilder sb = new StringBuilder();
for (int i = 0; i < s.Length; i++)
sb.Append(Convert.ToString(s[i], 16));
return sb.ToString();
}
}
}
Index: DotGNU.Rdf.build
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/DotGNU.Rdf.build,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** DotGNU.Rdf.build 15 Feb 2003 16:56:51 -0000 1.5
--- DotGNU.Rdf.build 15 Feb 2003 18:24:09 -0000 1.6
***************
*** 23,26 ****
--- 23,27 ----
<includes name="RdfSerializer.cs" />
<includes name="RdfSerializerN3.cs" />
+ <includes name="RdfTriple.cs" />
<includes name="FeatureTable.cs" />
</sources>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-libs-commits] CVS: dotgnu.rdf RdfTriple.cs,NONE,1.1 DotGNU.Rdf.build,1.5,1.6,
Adam Ballai <address@hidden> <=
- Prev by Date:
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfSerializerN3.cs,NONE,1.1 ChangeLog,1.9,1.10 DotGNU.Rdf.build,1.4,1.5 RdfSerializer.cs,1.2,1.3
- Next by Date:
[Dotgnu-libs-commits] CVS: dotgnu.rdf ChangeLog,1.10,1.11 DotGNU.Rdf.build,1.6,1.7
- Previous by thread:
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfSerializerN3.cs,NONE,1.1 ChangeLog,1.9,1.10 DotGNU.Rdf.build,1.4,1.5 RdfSerializer.cs,1.2,1.3
- Next by thread:
[Dotgnu-libs-commits] CVS: dotgnu.rdf ChangeLog,1.10,1.11 DotGNU.Rdf.build,1.6,1.7
- Index(es):